{"id":"CVE-2026-6357","state":"PUBLISHED","title":"pip self-update functionality can import newly installed modules after wheel installation","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.","publishedAt":"2026-04-27T14:19:47.657Z","updatedAt":"2026-04-27T22:17:49.582Z","severity":{"score":5.3,"label":"Medium","version":"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","source":"PSF"},"assigner":"PSF","products":["Pip maintainers pip"],"affected":[{"vendor":"Pip maintainers","product":"pip","packageName":"pip","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"26.1","versionType":"python"}],"collectionURL":"https://pypi.org/project/pip","repo":"https://github.com/pypa/pip"}],"references":["https://github.com/pypa/pip/pull/13923","https://ichard26.github.io/blog/2026/04/whats-new-in-pip-26.1/#security-fixes","http://www.openwall.com/lists/oss-security/2026/04/27/7"],"weaknesses":["CWE-829"],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/6xxx/CVE-2026-6357.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-6357","state":"PUBLISHED","datePublished":"2026-04-27T14:19:47.657Z","dateUpdated":"2026-04-27T22:17:49.582Z","assignerShortName":"PSF","assignerOrgId":"28c92f92-d60d-412d-b760-e73465c3df22","dateReserved":"2026-04-15T13:55:02.734Z"},"containers":{"cna":{"title":"pip self-update functionality can import newly installed modules after wheel installation","descriptions":[{"lang":"en","value":"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":[{"vendor":"Pip maintainers","product":"pip","packageName":"pip","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"26.1","versionType":"python"}],"collectionURL":"https://pypi.org/project/pip","repo":"https://github.com/pypa/pip"}],"references":[{"url":"https://github.com/pypa/pip/pull/13923","tags":["patch"]},{"url":"https://ichard26.github.io/blog/2026/04/whats-new-in-pip-26.1/#security-fixes","tags":["vendor-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"LOCAL","baseScore":5.3,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"HIGH","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"providerMetadata":{"shortName":"PSF","orgId":"28c92f92-d60d-412d-b760-e73465c3df22","dateUpdated":"2026-04-27T14:19:47.657Z"},"credits":[{"lang":"en","type":"reporter","value":"Damian Shaw"},{"lang":"en","type":"remediation developer","value":"Damian Shaw"},{"lang":"en","type":"remediation reviewer","value":"Richard Si"},{"lang":"en","type":"coordinator","value":"Seth Larson"}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 0.6.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-27T16:08:15.074450Z","id":"CVE-2026-6357","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-829","type":"CWE","lang":"en","description":"CWE-829 Inclusion of Functionality from Untrusted Control Sphere"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-27T16:08:47.582Z"}},{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/04/27/7"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-04-27T22:17:49.582Z"}}]}}}