PYSEC-2026-3721

At a glance

Published
Updated
CVE
CVE-2026-13346
Aliases
GHSA-qwm4-qh6w-59xr
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

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

PackageVersions
PyPI · pipintroduced 0, fixed 26.2

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — PyPA Advisory Database