Advisory record · GHSA-qwm4-qh6w-59xr

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.

CVSS 5.6 MediumEPSS 0.0029 · 22nd percentile

Published by the GitHub Advisory Database at 29 Jul 2026, 19:16 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
pipPyPI<26.226.2
Identifiers
GHSA-qwm4-qh6w-59xr · CVE-2026-13346 · PYSEC-2026-3721
Weakness (CWE)
CWE-36
Published
29 Jul 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Pip versions before 26.2 mishandle doubly-encoded package URLs from package indexes, which can let files be written to arbitrary locations on disk, even when installing wheels. An attacker must get the victim to download or install a package from a malicious index, since malicious packages alone cannot exploit it; the impact is mainly for users running pip download with --only-binary. Upgrade to pip 26.2 or later.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.6 Medium 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 CNA (PSF)
  • CISA KEV Not listed.
  • EPSS 0.0029, the 22nd percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:10 UTC First seen by agentprime
  2. 31 Oct 2026, 14:10 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.