CVE-2026-13346

Public on 2026-07-29
Modified on 2026-07-31
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.
Severity
Medium severity
Medium
See what this means
CVSS v3 Base Score
5.3
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Core python-pip Pending Fix
Amazon Linux 2023 python-pip Pending Fix
Amazon Linux 2023 python3.11-pip Pending Fix
Amazon Linux 2023 python3.12-pip Pending Fix
Amazon Linux 2023 python3.13-pip Pending Fix
Amazon Linux 2023 python3.14-pip Pending Fix

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 5.3 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N