pip absolute path traversal during download from malicious package indexes
CVE-2026-13346Published 29 Jul 2026, 18:33 UTC
Real-world risk
0.2/ 10Low
Routine
If the vulnerable configuration applies to you: 0.4
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.6
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from PSF)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| pipUbiquitous | < 26.2 | 26.2 |
What to do
Update to a fixed version: 26.2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data tamperingWrites or changes important data without gaining execution | From the CVSS vector | 0.70 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | RoutineA normal action: open a file, visit a page, click a link | From the CVSS vector | 0.70 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 23), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together0.028
- Threat T1: Nothing known0.850
- 10 × impact 0.7 × prerequisites 0.0284 × threat 0.850.169
- Rounded to one decimal between 0.1 and 100.2
Exploitation and evidence timeline
- 29 Jul 2026 Published
- 3 Dec 2026 Risk 0.2 (cvss fallback)
Weakness
CWE-36