# CVE-2026-13346: pip absolute path traversal during download from malicious package indexes

- Severity: Medium 5.6 (CVSS:4.0, scored by PSF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-07-29T18:33:50.820Z
- Modified: 2026-10-24T13:10:00.147Z
- Also known as: GHSA-qwm4-qh6w-59xr, PYSEC-2026-3721
- Weaknesses: CWE-36
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: PSF

## 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.

(As written by CVE List.)

## Affected

- Python Packaging Authority pip: before 26.2
- pip (PyPI): before 26.2.0; before 26.2
- pypa pip: before 26.2

## Every score

- PSF: CVSS:4.0 5.6 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`

## References

- <https://github.com/pypa/pip/pull/14110> (fix, issue-tracking, patch, web)
- <https://mail.python.org/archives/list/security-announce@python.org/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX/> (advisory, mailing-list, third-party-advisory, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2026/07/29/7> (advisory, mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-13346> (advisory)
- <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/security-announce@python.org/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX> (web)
- <https://github.com/advisories/GHSA-qwm4-qh6w-59xr> (advisory)

## Sources

- CVE List: [CVE-2026-13346](https://www.cve.org/CVERecord?id=CVE-2026-13346), CVE Terms of Use, modified 2026-07-29
- GitHub Advisory Database: [GHSA-qwm4-qh6w-59xr](https://github.com/advisories/GHSA-qwm4-qh6w-59xr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-13346](https://nvd.nist.gov/vuln/detail/CVE-2026-13346), Public domain, modified 2026-10-24
- PyPA Advisory Database: [PYSEC-2026-3721](https://osv.dev/vulnerability/PYSEC-2026-3721), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-13346 · Whole record: https://cve.day/CVE-2026-13346.json · Rebuilt by cve.day 2026-11-25T22:59:30.467Z
