Skip to content

pip

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?

ProductAffected versions (from the sources)Fixed in
pipUbiquitous< 26.226.2

What to do

Update to a fixed version: 26.2.

Why this score

FactorValueEvidence×
ImpactMajor data tamperingWrites or changes important data without gaining executionFrom the CVSS vector0.70
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededHighAdmin or equivalentFrom the CVSS vector0.20
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.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
  1. Prerequisites multiplied together0.028
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.7 × prerequisites 0.0284 × threat 0.850.169
  4. Rounded to one decimal between 0.1 and 100.2

How the score works

Exploitation and evidence timeline

  1. 29 Jul 2026 Published
  2. 3 Dec 2026 Risk 0.2 (cvss fallback)

Weakness

CWE-36

References

Get alerts for pip

Free email or text alerts when a vulnerability in pip reaches risk 8 or higher. Nothing else.