PYSEC-2026-3721

    Dashboard / Vulnerabilities / PYSEC-2026-3721

    PYSEC-2026-3721

    Published: 29 Jul 2026Last Modified: 10 Sept 2026

    Summary:

    Details: 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.

    Affected packages

    Package

    Name: pip

    Purl: pkg:pypi/pip

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -26.2

    Affected versions

    0.2
    0.2.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High