{"id":"CVE-2026-6357","published":"2026-04-27T14:19:47Z","modified":"2026-04-27T22:17:49Z","title":"pip self-update functionality can import newly installed modules after wheel installation","vendor":"Pip maintainers","product":"pip","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00177,"percentile":0.04338,"provenance":"source"},"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"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"]},{"url":"http://www.openwall.com/lists/oss-security/2026/04/27/7","tags":[]}],"priority":{"score":4.6,"factors":[{"name":"EPSS percentile","points":0.87},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"pip-maintainers","affectedVersions":[{"vendor":"Pip maintainers","product":"pip","versions":["< 26.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-27T16:08:15.074450Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pip","vulnerableRanges":["<26.1"],"patched":["26.1"],"from":["GHSA-jp4c-xjxw-mgf9","PYSEC-2026-2876"],"provenance":"source"}],"summary":{"text":"pip versions prior to 26.1 have a flaw in the pip command-line tool's self-update check, which runs after wheel files are installed and imports well-known Python module names that were deferred for startup speed, so newly installed modules can be imported. An attacker who can get a malicious wheel package installed can have that package's code run shortly afterward, which requires local access, a low-privilege authenticated user, and the user's involvement in the installation (acting on the attacker-supplied package), with no network-only path described.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:21:31Z"},"euvd":{"id":"EUVD-2026-25857","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-8869","published":"2025-09-24","fixed":"25.3","kev":false},{"cve":"CVE-2026-1703","published":"2026-02-02","fixed":"26.0","kev":false,"link":{"from":"CVE-2026-1703","to":"CVE-2026-6357","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pip","fromFixed":"26.0","toFixed":"26.1","daysApart":84}]}},{"cve":"CVE-2026-3219","published":"2026-04-20","fixed":"26.1","kev":false},{"cve":"CVE-2026-6357","published":"2026-04-27","fixed":"26.1","kev":false},{"cve":"CVE-2026-8643","published":"2026-06-01","fixed":"26.1.2","kev":false,"link":{"from":"CVE-2026-6357","to":"CVE-2026-8643","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pip","fromFixed":"26.1","toFixed":"26.1.2","daysApart":35}]}},{"cve":"CVE-2026-13346","published":"2026-07-29","fixed":"26.2.0","kev":false}],"package":"PyPI:pip"}}