Vulnerability · Published Apr 27, 2026 · Assigned by PSF

CVE-2026-6357pip self-update functionality can import newly installed modules after wheel installation

Medium 5.3

In plain English

A medium-severity security flaw in pip from Pip maintainers. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.1% (higher than 3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)5.3Medium
Exploit odds (30 days)0.1%top 96.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12python-pipno fix listedDEBIAN-CVE-2026-6357
Debian:13python-pipno fix listedDEBIAN-CVE-2026-6357
Debian:14python-pip26.1.1+dfsg-1DEBIAN-CVE-2026-6357
PyPIpip26.1PYSEC-2026-2876
PyPIpip26.1GHSA-jp4c-xjxw-mgf9
Ubuntu:25.10python-pipno fix listedUBUNTU-CVE-2026-6357
Ubuntu:26.10python-pipno fix listedUBUNTU-CVE-2026-6357

Affected products (as reported)

VendorProductVersions
Pip maintainers pip 0 – before 26.1

Weakness: CWE-829 · 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

References