CVE-2026-6357
JSON

5.3medium

pip self-update functionality can import newly installed modules after wheel installation

Severity
5.3medium CVSS:4.0 by PSF
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
PSF
Also known as
GHSA-jp4c-xjxw-mgf9PYSEC-2026-2876

Description

pip prior to version 26.1 would run self-update check functionality after installing wheel files which required importing well-known Python modules names. These module imports were intentionally deferred to increase startup time of the pip CLI. The patch changes self-update functionality to run before wheels are installed to prevent newly-installed modules from being imported shortly after the installation of a wheel package. Users should still review package contents prior to installation.

Affected

Product or packageVersionsReported by
pipbefore 26.1CVE List
pip (PyPI)before 26.1GitHub Advisory Database, PyPA Advisory Database

All scores

PSF5.3medium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
PyPA Advisory DatabaseNot scored CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Classification

CWE-829

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-6357 changed 2026-04-27CVE Terms of Use
GitHub Advisory DatabaseGHSA-jp4c-xjxw-mgf9 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-6357 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2026-2876 changed 2026-07-13CC-BY-4.0