CVE Catalog

CVE-2026-13346

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.35%

28th percentile - higher than 28% of all known CVEs

Summary

pip incorrectly handles doubly-encoded package URLs from indexes, allowing files to be installed to arbitrary disk locations when installing wheels. This vulnerability requires downloading or installing a package from a malicious index; malicious packages alone cannot exploit it.

Risk Assessment

The risk primarily affects users running pip download with --only-binary, as installing source distributions from untrusted indexes is already unsafe. An attacker could overwrite critical system files.

Recommendation

Upgrade pip to the latest version and avoid using pip download with --only-binary from untrusted indexes.

Other vulnerabilities in pip

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS