CVE-2026-13346
pip would incorrectly handle doubly-encoded package URLs from …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/pypa/pip/pull/14110
- mail.python.org/archives/list/[email protected]/thread/L2BNQGGVQCEV7DROOORQ7WFK
- www.openwall.com/lists/oss-security/2026/07/29/7
- nvd.nist.gov/vuln/detail/CVE-2026-13346
- mail.python.org/archives/list/[email protected]/thread/L2BNQGGVQCEV7DROOORQ7WFK
- github.com/pypa/pip/commit/10dfb6b9005484578b386f64b9f36982e3dc6679
- github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2026-3721.yaml
- github.com/advisories/GHSA-qwm4-qh6w-59xr
- nvd.nist.gov/vuln/detail/CVE-2026-13346
- cve.org/CVERecord?id=CVE-2026-13346
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.