CVEfocus › CVE database › CVE-2026-8643

CVE-2026-8643pip can extract console_scripts and gui_scripts outside installation directory

CVSS 4.1 MediumEPSS 0.5% (higher than 32% of CVEs)Published 2026-06-01Updated 2026-09-16Assigner: PSF

pip would treat console_scripts and gui_scripts as paths instead of file names without sanitizing the resolved absolute path to the installation directory, leading to entry points being installed outside the installation directory.

CWE-22

What to do

Fixed builds are available from AlmaLinux, Debian, PyPI, Red Hat, Rocky Linux: 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

12Fixed
10Fix pending
1Will not fix
15Not affected

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-8643
Ubuntu 26.04python-pipFix pendingUBUNTU-CVE-2026-8643
Ubuntu 25.10python-pipWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-8643
Ubuntu 24.04python-pipFix pendingUBUNTU-CVE-2026-8643
Ubuntu 22.04python-pipFix pendingUBUNTU-CVE-2026-8643
Ubuntu 20.04python-pipFix pendingUBUNTU-CVE-2026-8643
Ubuntu 18.04python-pipFix pendingUBUNTU-CVE-2026-8643
Ubuntu 16.04python-pipFix pendingUBUNTU-CVE-2026-8643
Ubuntu 14.04python-pipFix pendingUBUNTU-CVE-2026-8643
Debian 14python-pipFixed26.1.2+dfsg-1DEBIAN-CVE-2026-8643
Debian 13python-pipFix pendingDEBIAN-CVE-2026-8643
Debian 12python-pipFix pendingDEBIAN-CVE-2026-8643
Red Hat Enterprise Linux 10python3-pipNot affected
Red Hat Enterprise Linux 10python3-pip-wheelNot affected
Red Hat Enterprise Linux 10python3.14-pipFixed0:25.2-3.el10_2.5RHSA-2026:36193
Red Hat Enterprise Linux 10python3.14-pip-wheelFixed0:25.2-3.el10_2.5RHSA-2026:36193
Red Hat Enterprise Linux 9python-pipNot affected
Red Hat Enterprise Linux 9python3-pipNot affected
Red Hat Enterprise Linux 9python3-pip-wheelNot affected
Red Hat Enterprise Linux 9python3.12-pipNot affected
Red Hat Enterprise Linux 9python3.12-pip-wheelNot affected
Red Hat Enterprise Linux 9python3.14-pipFixed0:25.2-3.el9_8.5RHSA-2026:36315
Red Hat Enterprise Linux 9python3.14-pip-wheelFixed0:25.2-3.el9_8.5RHSA-2026:36315
Red Hat Enterprise Linux 8platform-python-pipNot affected
Red Hat Enterprise Linux 8python-pipNot affected
Red Hat Enterprise Linux 8python3-pipNot affected
Red Hat Enterprise Linux 8python3-pip-wheelNot affected
Red Hat Enterprise Linux 8python3.12-pipNot affected
Red Hat Enterprise Linux 8python3.12-pip-wheelNot affected
Red Hat Enterprise Linux 7python-pipNot affected
Red Hat Enterprise Linux 7python3-pipNot affected
AlmaLinux 10python3.14-pipFixed25.2-3.el10_2.5ALSA-2026:36193
AlmaLinux 10python3.14-pip-wheelFixed25.2-3.el10_2.5ALSA-2026:36193
AlmaLinux 9python3.14-pipFixed25.2-3.el9_8.5ALSA-2026:36315
AlmaLinux 9python3.14-pip-wheelFixed25.2-3.el9_8.5ALSA-2026:36315
Rocky Linux 10python3.14-pipFixed0:25.2-3.el10_2.5RLSA-2026:36193
Rocky Linux 9python3.14-pipFixed0:25.2-3.el9_8.5RLSA-2026:36315
PyPI librarypipFixed26.1.2PYSEC-2026-196

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.