medium5.5
CVE-2026-8643
pip would treat console_scripts and gui_scripts as paths instead of file names without sanitizing the resolved absolute path to the installation directory, lea…
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | pip | < 26.1.2 | 26.1.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Pypa | Pip | before 26.1.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-wf93-45jw-7689
- https://nvd.nist.gov/vuln/detail/CVE-2026-8643
- https://github.com/pypa/pip/pull/14000
- https://mail.python.org/archives/list/security-announce@python.org/thread/YV63UET5D3OOJY7O4M5XCVYO2YM4NBYJ
- http://www.openwall.com/lists/oss-security/2026/06/01/5
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-8643.json
- https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2026-196.yaml
- https://bugzilla.redhat.com/show_bug.cgi?id=2460927
- https://access.redhat.com/security/cve/CVE-2026-8643
- https://access.redhat.com/errata/RHSA-2026:36315
- https://access.redhat.com/errata/RHSA-2026:36193
- https://access.redhat.com/errata/RHSA-2026:34891
- https://access.redhat.com/errata/RHSA-2026:34780
- https://access.redhat.com/errata/RHSA-2026:34778
- https://access.redhat.com/errata/RHSA-2026:34777
- https://access.redhat.com/errata/RHSA-2026:34776
- https://access.redhat.com/errata/RHSA-2026:34775
- https://access.redhat.com/errata/RHSA-2026:34774
- https://access.redhat.com/errata/RHSA-2026:34773
- https://access.redhat.com/errata/RHSA-2026:34772
- https://access.redhat.com/errata/RHSA-2026:34765
- https://access.redhat.com/errata/RHSA-2026:34760
- https://access.redhat.com/errata/RHSA-2026:34758
- https://access.redhat.com/errata/RHSA-2026:34756
- https://access.redhat.com/errata/RHSA-2026:34752