Self-update Vulnerability in pip Affects Python Packaging
CVE-2026-6357

5.3MEDIUM

Key Information:

Status
Vendor
CVE Published:
27 April 2026

What is CVE-2026-6357?

The vulnerability in pip prior to version 26.1 allows for an improper execution of self-update checks after the installation of wheel files. This flaw arises due to the deferred importation of certain Python modules, implemented to enhance the startup time of the pip command-line interface. The patch effectively restructures this process, ensuring that self-update functionality executes before wheel installations. Users are advised to scrutinize package contents thoroughly before installation to mitigate potential risks.

Affected Version(s)

pip 0 < 26.1

References

CVSS V4

Score:
5.3
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
None
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Damian Shaw
Damian Shaw
Richard Si
Seth Larson
.