CVEfocus › CVE database › CVE-2026-6357

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

CVSS 5.3 MediumEPSS 0.2% (higher than 4% of CVEs)Published 2026-04-27Updated 2026-04-27Assigner: PSF

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.

CWE-829

What to do

Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
10Fix pending
1Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10python-pipFix pendingUBUNTU-CVE-2026-6357
Ubuntu 26.04python-pipFix pendingUBUNTU-CVE-2026-6357
Ubuntu 25.10python-pipWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-6357
Ubuntu 24.04python-pipFix pendingUBUNTU-CVE-2026-6357
Ubuntu 22.04python-pipFix pendingUBUNTU-CVE-2026-6357
Ubuntu 20.04python-pipFix pendingUBUNTU-CVE-2026-6357
Ubuntu 18.04python-pipFix pendingUBUNTU-CVE-2026-6357
Ubuntu 16.04python-pipFix pendingUBUNTU-CVE-2026-6357
Ubuntu 14.04python-pipFix pendingUBUNTU-CVE-2026-6357
Debian 14python-pipFixed26.1.1+dfsg-1DEBIAN-CVE-2026-6357
Debian 13python-pipFix pendingDEBIAN-CVE-2026-6357
Debian 12python-pipFix pendingDEBIAN-CVE-2026-6357
PyPI librarypipFixed26.1PYSEC-2026-2876

What the vendor says

As published in the CVE record by PSF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.