Skip to content

Update bundled pip to 26.1 to fix CVE-2026-3219 vulnerability #149148

@vstinner

Description

@vstinner

Feature or enhancement

Python 3.15 ensurepip bundles pip 26.0.1 which has CVE-2026-3219 vulnerability:

A flaw was found in pip. This vulnerability occurs because pip incorrectly processes concatenated tar and ZIP files as ZIP files, regardless of their true format. This improper handling can lead to confusing installation behavior, potentially causing the installation of unintended or 'incorrect' files. This could allow an attacker to influence the installation process by providing a specially crafted archive.

See security-announce email.

Would it be possible update pip to 26.1 in ensurepip?

See issue gh-144538 for the previous pip update.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytopic-ensurepiptype-featureA feature request or enhancementtype-securityA security issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions