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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-pip | no fix listed | DEBIAN-CVE-2026-6357 |
| Debian:13 | python-pip | no fix listed | DEBIAN-CVE-2026-6357 |
| Debian:14 | python-pip | 26.1.1+dfsg-1 | DEBIAN-CVE-2026-6357 |
| PyPI | pip | 26.1 | PYSEC-2026-2876 |
| PyPI | pip | 26.1 | GHSA-jp4c-xjxw-mgf9 |
| Ubuntu:25.10 | python-pip | no fix listed | UBUNTU-CVE-2026-6357 |
| Ubuntu:26.10 | python-pip | no fix listed | UBUNTU-CVE-2026-6357 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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