CVE-2026-13346Pypa Pip
Medium 5.6
Follow: this CVE · Pypa · Pypa Pip We alert you by email or Slack (account required).
- Priority
- 34
- CVSS 4.0
- 5.6
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 29, 2026
- Updated
- Oct 24, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-36
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for Pip.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pip |
< 26.2.0 |
26.2.0 |
pip install "pip>=26.2.0" |
| PyPI | pip |
< 26.2 |
26.2 |
pip install "pip>=26.2" |
Per OSV / GitHub Advisories (GHSA-qwm4-qh6w-59xr, PYSEC-2026-3721). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pypa | pip | < 26.2 |
Official advisories
- Security update 5.1.6 for Multi-Linux Manager Server · SUSE · SUSE-SU-2026:5436-1 · Nov 25, 2026 Critical
- Security update for python3 · SUSE · SUSE-SU-2026:4754-1 · Oct 20, 2026 High
- Security update for python36 · SUSE · SUSE-SU-2026:4743-1 · Oct 19, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:48788 · Jul 31, 2026 Medium
Also: SUSE (+18)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch
- mail.python.org Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory