Vulnerability · Published Jul 29, 2026 · Assigned by PSF
CVE-2026-13346pip absolute path traversal during download from malicious package indexes
Medium 5.6
In plain English
A medium-severity security flaw in pip from Python Packaging Authority. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-pip | no fix listed | DEBIAN-CVE-2026-13346 |
| Debian:13 | python-pip | no fix listed | DEBIAN-CVE-2026-13346 |
| Debian:14 | python-pip | 26.2.2+dfsg-1 | DEBIAN-CVE-2026-13346 |
| PyPI | pip | 26.2.0 | GHSA-qwm4-qh6w-59xr |
| PyPI | pip | 26.2 | PYSEC-2026-3721 |
| Ubuntu:22.04:LTS | pipenv | no fix listed | UBUNTU-CVE-2026-13346 |
| Ubuntu:24.04:LTS | pipenv | no fix listed | UBUNTU-CVE-2026-13346 |
| Ubuntu:26.04:LTS | pipenv | no fix listed | UBUNTU-CVE-2026-13346 |
| Ubuntu:26.10 | pipenv | no fix listed | UBUNTU-CVE-2026-13346 |
| Ubuntu:26.10 | python-pip | no fix listed | UBUNTU-CVE-2026-13346 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Python Packaging Authority | pip | 0 – before 26.2 |
Weakness: CWE-36 · 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