CVE-2026-13346
CVE-2026-13346 is a medium-severity vulnerability in Pypa Pip with a CVSS 3.x base score of 6.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-36.
Key facts
- Severity: Medium (CVSS 3.x base score 6.5)
- CVSS v4: 5.6
- EPSS exploit prediction: 0% (23rd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-36
- Affected product: Pypa Pip
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2026-13346?
- 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.
- How severe is CVE-2026-13346?
- CVE-2026-13346 has a CVSS 3.x base score of 6.5, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity high, and availability none.
- Is CVE-2026-13346 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (23rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-13346?
- CVE-2026-13346 affects Pypa Pip. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-13346?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2026-13346 published?
- CVE-2026-13346 was published on 2026-07-29 and last updated on 2026-08-20.
References
- https://github.com/pypa/pip/pull/14110
- https://mail.python.org/archives/list/[email protected]/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX/
- http://www.openwall.com/lists/oss-security/2026/07/29/7
Affected products (1)
- cpe:2.3:a:pypa:pip:*:*:*:*:*:*:*:*
More vulnerabilities in Pypa Pip
- CVE-2018-20225 — High (CVSS 7.8): An issue was discovered in pip (all versions) because it installs the version with the highest version number, even if…
- CVE-2019-20916 — High (CVSS 7.5): The pip package before 19.2 for Python allows Directory Traversal when a URL is given in an install command, because a…
- CVE-2013-1629 — Medium (CVSS 6.8): pip before 1.3 uses HTTP to retrieve packages from the PyPI repository, and does not perform integrity checks on…
- CVE-2013-5123 — Medium (CVSS 5.9): The mirroring support (-M, --use-mirrors) in Python Pip before 1.5 uses insecure DNS querying and authenticity checks…
- CVE-2021-3572 — Medium (CVSS 5.7): A flaw was found in python-pip in the way it handled Unicode separators in git references. A remote attacker could…
- CVE-2026-8643 — Medium (CVSS 5.5): pip would treat console_scripts and gui_scripts as paths instead of file names without sanitizing the resolved absolute…
Other CWE-36 vulnerabilities
- CVE-2023-3765 — Critical (CVSS 10.0): Absolute Path Traversal in GitHub repository mlflow/mlflow prior to 2.5.0.
- CVE-2025-34392 — Critical (CVSS 9.8): Barracuda Service Center, as implemented in the RMM solution, in versions prior to 2025.1.1, does not verify the URL…
- CVE-2025-0851 — Critical (CVSS 9.8): A path traversal issue in ZipUtils.unzip and TarUtils.untar in Deep Java Library (DJL) on all platforms allows a bad…
- CVE-2024-13161 — Critical (CVSS 9.8): Absolute path traversal in Ivanti EPM before the 2024 January-2025 Security Update and 2022 SU6 January-2025 Security…
- CVE-2024-13160 — Critical (CVSS 9.8): Absolute path traversal in Ivanti EPM before the 2024 January-2025 Security Update and 2022 SU6 January-2025 Security…
- CVE-2024-13159 — Critical (CVSS 9.8): Absolute path traversal in Ivanti EPM before the 2024 January-2025 Security Update and 2022 SU6 January-2025 Security…