CVE-2026-8643pip can extract console_scripts and gui_scripts outside installation directory
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | python-pip | Fix pending | UBUNTU-CVE-2026-8643 | |
| Ubuntu 26.04 | python-pip | Fix pending | UBUNTU-CVE-2026-8643 | |
| Ubuntu 25.10 | python-pip | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-8643 | |
| Ubuntu 24.04 | python-pip | Fix pending | UBUNTU-CVE-2026-8643 | |
| Ubuntu 22.04 | python-pip | Fix pending | UBUNTU-CVE-2026-8643 | |
| Ubuntu 20.04 | python-pip | Fix pending | UBUNTU-CVE-2026-8643 | |
| Ubuntu 18.04 | python-pip | Fix pending | UBUNTU-CVE-2026-8643 | |
| Ubuntu 16.04 | python-pip | Fix pending | UBUNTU-CVE-2026-8643 | |
| Ubuntu 14.04 | python-pip | Fix pending | UBUNTU-CVE-2026-8643 | |
| Debian 14 | python-pip | Fixed | 26.1.2+dfsg-1 | DEBIAN-CVE-2026-8643 |
| Debian 13 | python-pip | Fix pending | DEBIAN-CVE-2026-8643 | |
| Debian 12 | python-pip | Fix pending | DEBIAN-CVE-2026-8643 | |
| Red Hat Enterprise Linux 10 | python3-pip | Not affected | ||
| Red Hat Enterprise Linux 10 | python3-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 10 | python3.14-pip | Fixed | 0:25.2-3.el10_2.5 | RHSA-2026:36193 |
| Red Hat Enterprise Linux 10 | python3.14-pip-wheel | Fixed | 0:25.2-3.el10_2.5 | RHSA-2026:36193 |
| Red Hat Enterprise Linux 9 | python-pip | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-pip | Not affected | ||
| Red Hat Enterprise Linux 9 | python3-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 9 | python3.12-pip | Not affected | ||
| Red Hat Enterprise Linux 9 | python3.12-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 9 | python3.14-pip | Fixed | 0:25.2-3.el9_8.5 | RHSA-2026:36315 |
| Red Hat Enterprise Linux 9 | python3.14-pip-wheel | Fixed | 0:25.2-3.el9_8.5 | RHSA-2026:36315 |
| Red Hat Enterprise Linux 8 | platform-python-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | python-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | python3-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 8 | python3.12-pip | Not affected | ||
| Red Hat Enterprise Linux 8 | python3.12-pip-wheel | Not affected | ||
| Red Hat Enterprise Linux 7 | python-pip | Not affected | ||
| Red Hat Enterprise Linux 7 | python3-pip | Not affected | ||
| AlmaLinux 10 | python3.14-pip | Fixed | 25.2-3.el10_2.5 | ALSA-2026:36193 |
| AlmaLinux 10 | python3.14-pip-wheel | Fixed | 25.2-3.el10_2.5 | ALSA-2026:36193 |
| AlmaLinux 9 | python3.14-pip | Fixed | 25.2-3.el9_8.5 | ALSA-2026:36315 |
| AlmaLinux 9 | python3.14-pip-wheel | Fixed | 25.2-3.el9_8.5 | ALSA-2026:36315 |
| Rocky Linux 10 | python3.14-pip | Fixed | 0:25.2-3.el10_2.5 | RLSA-2026:36193 |
| Rocky Linux 9 | python3.14-pip | Fixed | 0:25.2-3.el9_8.5 | RLSA-2026:36315 |
| PyPI library | pip | Fixed | 26.1.2 | PYSEC-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.
- Python Packaging Authority pip: affected: 24.0 to before 26.1.2; fixed in
26.1.2
Vendor advisories:
- https://github.com/pypa/pip/pull/14000 (patch)
- https://mail.python.org/archives/list/security-announce@python.org/thread/YV63UET5D3OOJY7… (vendor-advisory)
References
- https://github.com/pypa/pip/pull/14000
- https://mail.python.org/archives/list/security-announce@python.org/thread/YV63UET5D3OOJY7O4M5XCVYO2YM4NBYJ/
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.