{"id":"CVE-2026-1703","published":"2026-02-02T14:43:02Z","modified":"2026-02-02T17:21:25Z","title":"Limited path traversal when installing wheel archives","vendor":"Python Packaging Authority","product":"pip","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":2,"severity":"LOW","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00436,"percentile":0.387,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/pypa/pip/pull/13777","tags":["patch"]},{"url":"https://github.com/pypa/pip/commit/8e227a9be4faa9594e05d02ca05a413a2a4e7735","tags":["patch"]},{"url":"https://mail.python.org/archives/list/security-announce@python.org/thread/WIEA34D4TABF2UNQJAOMXKCICSPBE2DJ/","tags":["vendor-advisory"]}],"priority":{"score":9.1,"factors":[{"name":"EPSS percentile","points":7.74},{"name":"CVSS severity","points":1.4}]},"vendorSlug":"python-packaging-authority","affectedVersions":[{"vendor":"Python Packaging Authority","product":"pip","versions":["< 26.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-02T17:21:09.808485Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pip","vulnerableRanges":["<26.0"],"patched":["26.0"],"from":["GHSA-6vgw-5pg2-w6jp","PYSEC-2026-1796"],"provenance":"source"}],"summary":{"text":"The flaw is a path traversal weakness in pip, the Python package installer, where extracting a maliciously crafted wheel archive during installation can place files outside the installation directory. The traversal is limited to prefixes of the installation directory, so in typical situations it cannot inject or overwrite executable files, but an attacker who can supply a crafted wheel and get a user to install it (requiring user interaction and low-privilege access) can write files to locations near the install path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:12:50Z"},"euvd":{"id":"EUVD-2026-5106","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-python-packaging-authority-pip-cve-2025-8869","parents":[{"from":"CVE-2025-8869","to":"CVE-2026-1703","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/pip/_internal/utils/unpacking.py"],"commits":["https://github.com/pypa/pip/commit/f2b92314da012b9fffa36b3f3e67748a37ef464a","https://github.com/pypa/pip/commit/8e227a9be4faa9594e05d02ca05a413a2a4e7735"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2026-1703","to":"CVE-2026-29790","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-w75w-9qv4-j5xj","via":"reference","url":"https://github.com/advisories/GHSA-6vgw-5pg2-w6jp"},{"kind":"osv-related","provenance":"source","id":"PYSEC-2026-2440","via":"reference","url":"https://github.com/advisories/GHSA-6vgw-5pg2-w6jp"}]}],"packageHistory":[{"cve":"CVE-2021-3572","published":"2021-11-10","fixed":"21.1","kev":false},{"cve":"CVE-2023-5752","published":"2023-10-24","fixed":"23.3","kev":false},{"cve":"CVE-2025-8869","published":"2025-09-24","fixed":"25.3","kev":false},{"cve":"CVE-2026-1703","published":"2026-02-02","fixed":"26.0","kev":false},{"cve":"CVE-2026-3219","published":"2026-04-20","fixed":"26.1","kev":false,"link":{"from":"CVE-2026-1703","to":"CVE-2026-3219","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pip","fromFixed":"26.0","toFixed":"26.1","daysApart":77}]}},{"cve":"CVE-2026-6357","published":"2026-04-27","fixed":"26.1","kev":false,"link":{"from":"CVE-2026-1703","to":"CVE-2026-6357","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pip","fromFixed":"26.0","toFixed":"26.1","daysApart":84}]}},{"cve":"CVE-2026-8643","published":"2026-06-01","fixed":"26.1.2","kev":false}],"package":"PyPI:pip"}}