Bug 2509216

Summary: CVE-2026-13346 mingw-python-pip: pip: Arbitrary file installation via malicious package indexes [fedora-all]
Product: [Fedora] Fedora Reporter: Marian Rehak <mrehak>
Component: mingw-python-pipAssignee: Sandro Mani <manisandro>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: manisandro
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["ce680fbb-991b-4065-bece-2e46e8879842"]}
Fixed In Version: mingw-python-pip-26.2-1.fc44 mingw-python-pip-26.2-1.fc43 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-08-11 00:59:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2508514    

Description Marian Rehak 2026-07-30 08:54:18 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

pip would incorrectly handle doubly-encoded package URLs from indexes allowing for files to be installed to arbitrary locations on disk even when installing wheels.




This vulnerability requires downloading or installing a package from a malicious package index to succeed, malicious packages alone are not able to exploit this vulnerability. Note that this vulnerability only materially impacts users running `pip download` with the `--only-binary` option as installing source distributions from an untrusted index is already an unsafe operation that executes code during install time.

Comment 1 Fedora Update System 2026-08-02 11:26:19 UTC
FEDORA-2026-676dfc2776 (mingw-python-pip-26.2-1.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-676dfc2776

Comment 2 Fedora Update System 2026-08-02 11:26:20 UTC
FEDORA-2026-f7dddb6162 (mingw-python-pip-26.2-1.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-f7dddb6162

Comment 3 Fedora Update System 2026-08-03 01:30:22 UTC
FEDORA-2026-676dfc2776 has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-676dfc2776`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-676dfc2776

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-08-03 01:49:25 UTC
FEDORA-2026-f7dddb6162 has been pushed to the Fedora 43 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-f7dddb6162`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-f7dddb6162

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2026-08-11 00:59:46 UTC
FEDORA-2026-676dfc2776 (mingw-python-pip-26.2-1.fc44) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2026-08-11 01:13:21 UTC
FEDORA-2026-f7dddb6162 (mingw-python-pip-26.2-1.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.