CVE-2026-13346

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductPypa Pip
PublishedJul 29, 2026
First seenJul 29, 2026
Weakness typeCWE-36CWE-36

How to fix

Affected products

ProductAffected versionsFixed in
pypa pipv < 26.226.2
pipPyPIv < 26.2.0, v < 26.226.2.0, 26.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.