Security mailing lists by PureSourceCode

CVE-2026-13346

MEDIUM 5.6CVSS 4.0

pip would incorrectly handle doubly-encoded package URLs from indexes

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.

Published
29 Jul 2026
Last modified
24 Oct 2026
Assigned by
cna@python.org
NVD status
Analyzed
Weakness
CWE-36
Also known as
GHSA-qwm4-qh6w-59xrPYSEC-2026-3721
Sources
NVDJSONOSV GHSA-qwm4-qh6w-59xrJSONOSV PYSEC-2026-3721JSON

Scores

SourceScored byVersionScoreVector / decision
NVD cna@python.org (Secondary) CVSS 4.0 MEDIUM 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
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
OSV PyPA CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pypa pip
cpe:2.3:a:pypa:pip:*:*:*:*:*:*:*:*
< 26.2 26.2
OSV PyPI pip < 26.2.0 26.2.0
OSV PyPI pip < 26.2 26.2

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 29 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.