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.
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | pip | < 26.2 | 26.2 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-13346
- https://github.com/pypa/pip/pull/14110
- https://github.com/pypa/pip/commit/10dfb6b9005484578b386f64b9f36982e3dc6679
- https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2026-3721.yaml
- https://github.com/pypa/pip
- https://mail.python.org/archives/list/security-announce@python.org/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX
- http://www.openwall.com/lists/oss-security/2026/07/29/7
- https://mail.python.org/archives/list/security-announce@python.org/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX/
- https://github.com/advisories/GHSA-qwm4-qh6w-59xr
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N- Weakness (CWE)
CWE-36- Platform
- Python (PyPI)
- Package
pip- Disclosed
- 29.07.2026
- Updated
- 11.10.2026 15:18
Sources and licenses
OSV / GitHub Advisory Database - GHSA-qwm4-qh6w-59xr - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-3721 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: pip
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 13
- First → latest
- 08.2013 07.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 4
- Medium 8
- Low 1
Disclosures per year
- 2017: 0
- 2018: 0
- 2019: 1
- 2020: 1
- 2021: 1
- 2022: 0
- 2023: 1
- 2024: 0
- 2025: 1
- 2026: 5
earlier: 3
-
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 entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.