{"id":"CVE-2026-6357","aliases":["CVE-2026-6357","GHSA-jp4c-xjxw-mgf9","PYSEC-2026-2876"],"related":[],"kind":"vulnerability","state":"published","title":"pip self-update functionality can import newly installed modules after wheel installation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-04-27T14:19:47.657Z","modified":"2026-09-10T03:50:44.656Z","severity":{"scorer":"PSF","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"PSF","scheme":"CVSS:4.0","vector":"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","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-829"],"affected":[{"ranges":[{"type":"python","introduced":"0","fixed":"26.1","status":"affected"}],"vendor":"Pip maintainers","product":"pip","package":"pip","repo":"https://github.com/pypa/pip","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"26.1"}],"ecosystem":"PyPI","package":"pip","purl":"pkg:pypi/pip","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"26.1"}],"ecosystem":"PyPI","package":"pip","purl":"pkg:pypi/pip","source":"pysec"}],"references":[{"url":"https://github.com/pypa/pip/pull/13923","tags":["patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://ichard26.github.io/blog/2026/04/whats-new-in-pip-26.1/#security-fixes","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/27/7","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6357","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/pip/commit/b369bfc96cc524e00c267e1693290e6599c36bad","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/pip","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/pip","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-jp4c-xjxw-mgf9","tags":["advisory"],"sources":["pysec"]}],"credits":["Damian Shaw","Richard Si","Seth Larson"],"assigner":"PSF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-27T16:08:15.074Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-6357","url":"https://www.cve.org/CVERecord?id=CVE-2026-6357","licence":"CVE Terms of Use","modified":"2026-04-27T22:17:49.582Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jp4c-xjxw-mgf9","url":"https://github.com/advisories/GHSA-jp4c-xjxw-mgf9","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:44.656Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-6357","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6357","licence":"Public domain","modified":"2026-06-17T11:00:42.947Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2876","url":"https://osv.dev/vulnerability/PYSEC-2026-2876","licence":"CC-BY-4.0","modified":"2026-07-13T16:32:57.447Z"}],"updatedAt":"2026-11-25T22:59:19.664Z","epss":{"score":0.00132,"percentile":0.02951,"date":"2026-12-01T12:00:22.000Z"}}