Medium severity · published Jul 29, 2026
CVE-2026-13346
pip absolute path traversal during download from malicious package indexes
6.5
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 22% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PI
pip · Python Packaging Authority
before 26.2 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-13346
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-13346
Issue Tracking
https://github.com/pypa/pip/pull/14110
Mailing List
https://mail.python.org/archives/list/security-announce@python.org/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX/
Mailing List
http://www.openwall.com/lists/oss-security/2026/07/29/7
More from pip
5.5
CVE-2026-8643
pip can extract console_scripts and gui_scripts outside installation directory
4.6
CVE-2026-3219
pip doesn't reject concatenated ZIP and tar archives
