{"id":"CVE-2026-13346","published":"2026-07-29T18:33:50Z","modified":"2026-07-29T20:21:34Z","title":"pip absolute path traversal during download from malicious package indexes","vendor":"Python Packaging Authority","product":"pip","tier":"tail","description":{"text":"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.\n\n\n\n\nThis 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.6,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00292,"percentile":0.22348,"provenance":"source"},"cwes":[{"id":"CWE-36","name":"Absolute Path Traversal"}],"references":[{"url":"https://github.com/pypa/pip/pull/14110","tags":["patch"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX/","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/29/7","tags":[]}],"priority":{"score":8.4,"factors":[{"name":"EPSS percentile","points":4.47},{"name":"CVSS severity","points":3.92}]},"vendorSlug":"python-packaging-authority","affectedVersions":[{"vendor":"Python Packaging Authority","product":"pip","versions":["< 26.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-29T19:08:27.143201Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pip","vulnerableRanges":["<26.2.0","<26.2"],"patched":["26.2.0","26.2"],"from":["GHSA-qwm4-qh6w-59xr","PYSEC-2026-3721"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-50467","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-3219","published":"2026-04-20","fixed":"26.1","kev":false},{"cve":"CVE-2026-6357","published":"2026-04-27","fixed":"26.1","kev":false},{"cve":"CVE-2026-8643","published":"2026-06-01","fixed":"26.1.2","kev":false,"link":{"from":"CVE-2026-8643","to":"CVE-2026-13346","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pip","fromFixed":"26.1.2","toFixed":"26.2.0","daysApart":58}]}},{"cve":"CVE-2026-13346","published":"2026-07-29","fixed":"26.2.0","kev":false}],"package":"PyPI:pip"}}