CVE-2026-6357

NameCVE-2026-6357
Descriptionpip 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1135110

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-pip (PTS)bullseye20.3.4-4+deb11u1vulnerable
bullseye (security)20.3.4-4+deb11u2vulnerable
bookworm23.0.1+dfsg-1vulnerable
trixie25.1.1+dfsg-1vulnerable
forky26.1.1+dfsg-1fixed
sid26.1.2+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-pipsource(unstable)26.1.1+dfsg-11135110

Notes

[trixie] - python-pip <no-dsa> (Minor issue)
[bookworm] - python-pip <no-dsa> (Minor issue)
[bullseye] - python-pip <postponed> (Minor issue, possible execution when installing new Python modules)
https://github.com/pypa/pip/pull/13923
https://github.com/pypa/pip/commit/b369bfc96cc524e00c267e1693290e6599c36bad (26.1)

Search for package or bug name: Reporting problems