GitHub Advisoryadvisory · PyPI
GHSA-qwm4-qh6w-59xr pip would incorrectly handle doubly-encoded package URLs from indexes
MEDIUM
Official page ↗
- Aliases
- CVE-2026-13346
- Ecosystem
- PyPI
- Packages
- pip
- Severity
- Moderate
- CVSS vector
- CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- Weaknesses
- CWE-36
- Reviewed
- 2026-09-01
Affected packages
• PyPI pip: < 26.2.0 → fixed in 26.2.0
Description
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.
Related
Alias · CVE (1)
- CVE-2026-13346 pip would incorrectly handle doubly-encoded package URLs from indexes allowing for files to be installed to arbitrary locations on disk… vulnerability
Weakness · CWE (1)
- CWE-36 Absolute Path Traversal weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-13346 advisory
- https://github.com/pypa/pip/pull/14110 web
- https://github.com/pypa/pip/commit/10dfb6b9005484578b386f64b9f36982e3dc6679 web
- https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2026-3721.yaml web
- https://github.com/pypa/pip package
- https://mail.python.org/archives/list/[email protected]/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX web
- http://www.openwall.com/lists/oss-security/2026/07/29/7 web