CVE-2026-6357
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 package | Versions | Reported by |
|---|---|---|
| pip | before 26.1 | CVE List |
| pip (PyPI) | before 26.1 | GitHub Advisory Database, PyPA Advisory Database |
All scores
| PSF | 5.3medium CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| GitHub | medium CVSS:4.0 | CVSS: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 Database | Not scored CVSS:4.0 | CVSS: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
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-6357 changed 2026-04-27 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jp4c-xjxw-mgf9 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-6357 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2876 changed 2026-07-13 | CC-BY-4.0 |