Path Traversal in Pypa Pip
CVE-2026-13346
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.003, 22.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Pypa Pip
- Python Packaging Authority Pip — versions 0
Weakness classification (CWE)
References
- github.com/pypa/pip/pull/14110 (Patch, patch, Issue Tracking)
- mail.python.org/archives/list/security-announce@python.org/thread/L2BNQGGVQCEV7… (vendor-advisory, Mailing List, Third Party Advisory)
- www.openwall.com/lists/oss-security/2026/07/29/7 (Mailing List, Third Party Advisory)