pypa/pip · Security
pip Path Traversal vulnerability
- GHSA ID
- GHSA-6vgw-5pg2-w6jp
- CVE ID
- CVE-2026-1703
- Severity
- low
- Published
- Updated
- CVSS v4
- 2 · CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
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.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-1703 ↗
- https://github.com/pypa/pip/pull/13777 ↗
- https://github.com/pypa/pip/commit/8e227a9be4faa9594e05d02ca05a413a2a4e7735 ↗
- https://mail.python.org/archives/list/[email protected]/thread/WIEA34D4TABF2UNQJAOMXKCICSPBE2DJ ↗
- https://github.com/advisories/GHSA-6vgw-5pg2-w6jp ↗