CVE-2026-8643: pip would treat console_scripts and gui_scripts as paths instead of file names without sanitizing the resolved
CVE-2026-8643 is a medium-severity flaw (CVSS 5.5) affecting pip. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.5 (Medium) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 75%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2026-06-01 |
| Last modified | 2026-09-16 |
Last updated 2026-09-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Advisories and coverage
Official advisories
- AlmaLinux Errata: [ALSA-2026:36315] Important: python3.14-pip security update 2026-07-08
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-8643?
pip: upgrade to 26.1.2. Exact commands for each OS are on this page.
Is CVE-2026-8643 being exploited?
CVE-2026-8643 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-8643 affect?
CVE-2026-8643 affects pip. Severity is medium (CVSS 5.5). 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.
How urgent is CVE-2026-8643?
Priority 25/100. No elevated risk signals yet.
Related CVEs
- CVE-2026-13346 MEDIUM 6.5 UPGRADE pip would incorrectly handle doubly-encoded package URLs from indexes allowing for files to be installed to ar