What’s Vulnerable › Vulnerabilities
CVE-2026-1703: Limited path traversal when installing wheel archives
- Severity: low (CVSS 2.0 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-02-02 · updated 2026-06-17
- Weakness: CWE-22
Description
When pip is installing and extracting a maliciously crafted wheel archive, files may be extracted outside the installation directory. The path traversal is limited to prefixes of the installation directory, thus isn't able to inject or overwrite executable files in typical situations.
Affected products
- Pypi Pip: before 26.0; 0.2, 0.2.1, 0.3, 0.3.1, 0.4, 0.5 (+146) — fixed in 26.0
- Python Packaging Authority pip: before 26.0 — fixed in 26.0
How to fix
Upgrade to a fixed version: Pypi Pip 26.0; Python Packaging Authority pip 26.0. Check the vendor advisory for mitigations.
References
- https://github.com/pypa/pip/commit/8e227a9be4faa9594e05d02ca05a413a2a4e7735
- https://github.com/pypa/pip/pull/13777
- https://mail.python.org/archives/list/security-announce@python.org/thread/WIEA34D4TABF2UNQJAOMXKCICSPBE2DJ/
Get alerted when CVE-2026-1703 or the next vulnerability affects your stack