{"id":"CVE-2026-6357","summary":"pip self-update functionality can import newly installed modules after wheel installation","details":"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.","aliases":["GHSA-jp4c-xjxw-mgf9"],"modified":"2026-05-18T06:00:19.237865998Z","published":"2026-04-27T14:19:47.657Z","related":["CGA-p852-vq7j-f496"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6357.json","cna_assigner":"PSF"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/04/27/7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6357.json"},{"type":"ADVISORY","url":"https://ichard26.github.io/blog/2026/04/whats-new-in-pip-26.1/#security-fixes"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6357"},{"type":"FIX","url":"https://github.com/pypa/pip/pull/13923"},{"type":"PACKAGE","url":"https://github.com/pypa/pip"},{"type":"PACKAGE","url":"https://pypi.org/project/pip"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pypa/pip","events":[{"introduced":"0"},{"fixed":"90b2b3e0f7ef75c485155716d904e51654575803"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"26.1"}],"source":"AFFECTED_FIELD"}}],"versions":["26.0","21.3","21.0","20.0.2","19.1.1","19.0.2","19.0","18.1","18.0","10.0.1","10.0.0","9.0.1","9.0.0","6.0","1.4rc2","1.4rc1","1.2","1.0","0.8.3","0.8.2","0.8","0.7.1","0.7","0.6","0.3"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-6357.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}