Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pip
  4. ›
  5. CVE-2026-13346

CVE-2026-13346: pip would incorrectly handle doubly-encoded package URLs from indexes

July 29, 2026 (updated September 1, 2026)

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.

References

  • github.com/advisories/GHSA-qwm4-qh6w-59xr
  • github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2026-3721.yaml
  • github.com/pypa/pip/commit/10dfb6b9005484578b386f64b9f36982e3dc6679
  • github.com/pypa/pip/pull/14110
  • mail.python.org/archives/list/security-announce@python.org/thread/L2BNQGGVQCEV7DROOORQ7WFKKFF2OOQX
  • nvd.nist.gov/vuln/detail/CVE-2026-13346

Code Behaviors & Features

Detect and mitigate CVE-2026-13346 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 26.2.0

Fixed versions

  • 26.2.0

Solution

Upgrade to version 26.2.0 or above.

Impact 4.2 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-36: Absolute Path Traversal

Source file

pypi/pip/CVE-2026-13346.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 22 Sep 2026 12:21:26 +0000.