CVE-2026-13346 json
pip absolute path traversal during download from malicious package indexes
published 2026-07-29 3 mo ago modified 2026-10-24 16 d ago also EUVD-2026-50467 , GHSA-qwm4-qh6w-59xr , PYSEC-2026-3721
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 21%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi pip 26.2, 26.2.0
- Python Packaging Authority pip 26.2
- python-pip Debian 14 26.2.2+dfsg-1
debian advisories DEBIAN-CVE-2026-13346
- python-pip hummingbird 1 26.2-0.1.hum1
- python3-pip hummingbird 1 26.2-0.1.hum1
- python-pip-wheel hummingbird 1 26.2-0.1.hum1
red hat advisories RHSA-2026:48788
- python3 SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +11 more 3.6.15-150300.10.129.1
- python3-core SLES for SAP 15 SP6, SLES for SAP 15 SP5, SLES for SAP 15 SP4 +12 more 3.6.15-150300.10.129.1
- grafana Multi Linux Manager Tools SLE-15 12.4.10-150002.4.27.1
- mgr-push Multi Linux Manager Tools SLE-15 5.2.5-150002.3.12.1
- spacecmd Multi Linux Manager Tools SLE-15 5.2.10-150002.3.15.1
- uyuni-tools Multi Linux Manager Tools SLE-Micro-5, Multi Linux Manager Tools SLE-15 5.2.17-150002.3.20.1
- venv-salt-minion Multi Linux Manager Tools SLE-Micro-5, Multi Linux Manager Tools SLE-15 3006.0-150002.5.22.1
- spacewalk-client-tools Multi Linux Manager Tools SLE-15 5.2.7-150002.3.12.1
suse advisories SUSE-SU-2026:4754-1SUSE-SU-2026:4743-1SUSE-SU-2026:4585-1SUSE-SU-2026:4584-1SUSE-SU-2026:4583-1SUSE-SU-2026:4582-1
- python310 openSUSE Tumbleweed 3.10.20-10.1
- python-pip openSUSE Leap 16.0 25.0.1-160000.6.1
- python-pip openSUSE Tumbleweed 26.2-1.1
opensuse advisories openSUSE-SU-2026:11690-1openSUSE-SU-2026:21643-1openSUSE-SU-2026:11451-1
- python-pip Azure Linux 3.0 24.2-10
- python-virtualenv Azure Linux 3.0 20.36.1-6
azure linux advisories AZL-94335AZL-94353
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- github.com/pypa/pip@10dfb6b commit
- github.com/pypa/pip#14110 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-13346 updated cvss 5.9
pip: pip: Arbitrary file installation via malicious package indexes
-
Red Hat Enterprise Linux 7 python-pip, python3-pip Red Hat Enterprise Linux 8 python-pip, python3-pip, python3-pip-wheel, platform-python-pip Red Hat Enterprise Linux 9 python-pip, python3-pip, python3-pip-wheel Red Hat Enterprise Linux 10 python-pip Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9 Red Hat OpenShift Container Platform 5 openshift/ose-rhel-coreos-9affected: no fix available “Fix deferred”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel9under investigation
-
Red Hat AI Inference Server 3.5 rhaii/vllm-cpu-rhel9 1791473614, rhaii/vllm-cuda-rhel9 1791473631, rhaii/vllm-gaudi-rhel9 1791427182fixed: vendor fix RHSA-2026:82415
-
Red Hat Enterprise Linux AI 3.5 rhelai3/bootc-cuda-rhel9 1793135861, rhelai3/bootc-aws-cuda-rhel9 1793194817, rhelai3/bootc-gcp-cuda-rhel9 1793194815, rhelai3/disk-image-cuda-rhel9 1793206758, rhelai3/bootc-azure-cuda-rhel9 1793194815fixed: vendor fix RHSA-2026:92452
-
Red Hat Hardened Images python-pip 26.2-0.1.hum1, python3-pip 26.2-0.1.hum1, python-pip-wheel 26.2-0.1.hum1fixed: vendor fix RHSA-2026:48788
-
Red Hat OpenShift AI 3.0 rhai/base-image-cpu-rhel9 1793042072, rhai/base-image-cpu-rhel9 1793329709, rhai/base-image-tpu-rhel9 1793041987, rhai/base-image-cuda-rhel9 1793042067, rhai/base-image-cuda-rhel9 1793328358, rhai/base-image-rocm-rhel9 1793041981, +1 morefixed: vendor fix RHSA-2026:94459
-
Red Hat OpenShift AI 3.4 rhai/base-image-cpu-rhel9 1793042088, rhai/base-image-tpu-rhel9 1793042006, rhai/base-image-gaudi-rhel9 1793042011, rhai/base-image-spyre-rhel9 1793042074, rhai/base-image-neuron-rhel9 1793042008, rhai/base-image-rocm-6.4-rhel9 1793041995, +4 morefixed: vendor fix RHSA-2026:91241
-
Red Hat OpenShift AI 3.5 rhai/base-image-cpu-rhel9 1793042162, rhai/base-image-tpu-rhel9 1793042010, rhai/base-image-gaudi-rhel9 1793042004, rhai/base-image-rubin-rhel9 1793042092, rhai/base-image-neuron-rhel9 1793042008, rhai/base-image-cuda-12.9-rhel9 1793042117, +3 morefixed: vendor fix RHSA-2026:91204
show 1 moreshow fewer
-
Red Hat Enterprise Linux AI 3.5 rhelai3/bootc-rocm-rhel9 1793135863, rhelai3/bootc-azure-rocm-rhel9 1793194834not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 mo ago
Exploit prediction
0.29% chance of exploitation in the next 30 days, higher than 21% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.6 | CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 5.6 | CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | pip | <26.2.0 <26.2 |
26.2.0 26.2 |
Affected products
- Python Packaging Authority pip
Classification
- Weakness
-
- CWE-36 Absolute Path Traversal
References
-
github.com
/pypa/pip/pull/14110
patch, web, issue-tracking
-
github.com
/pypa/pip/commit/10dfb6b9005484578b386f64b9f36982e3dc6679
web
-
mail.python.org
/archives/list/security-announce@python.org/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX/
vendor-advisory, mailing-list, third-party-advisory, advisory
-
openwall.com
/lists/oss-security/2026/07/29/7
web, mailing-list, third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-13346
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2026-3721.yaml
web
-
github.com
/pypa/pip
package
-
mail.python.org
/archives/list/security-announce@python.org/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX
web
-
github.com
/advisories/GHSA-qwm4-qh6w-59xr
advisory
Sources
- CVE List CVE-2026-13346
- GitHub Advisory GHSA-qwm4-qh6w-59xr
- NVD CVE-2026-13346
- OSV PYSEC-2026-3721
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.