CVE-2026-8643
MEDIUM 4.1CVSS 4.0pip: Path traversal in console_scripts/gui_scripts entry point names allows installing scripts outside of target 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.
- Published
- 1 Jun 2026
- Last modified
- 16 Sep 2026
- Assigned by
- cna@python.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-wf93-45jw-7689PYSEC-2026-196
- Sources
- NVDJSONOSV GHSA-wf93-45jw-7689JSONOSV PYSEC-2026-196JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@python.org (Secondary) | CVSS 4.0 | MEDIUM 4.1 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N | |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | pypa | pipcpe:2.3:a:pypa:pip:*:*:*:*:*:*:*:* |
< 26.1.2 | 26.1.2 |
| OSV | PyPI | pip | < 26.1.2 | 26.1.2 |
References
- https://github.com/pypa/pip/pull/14000 · Issue Tracking, Patch, WEB, FIX
- https://mail.python.org/archives/list/security-announce@python.org/thread/YV63UET5D3OOJY7O4M5XCVYO2YM4NBYJ/ · Mailing List, Vendor Advisory, WEB, ADVISORY
- http://www.openwall.com/lists/oss-security/2026/06/01/5 · Mailing List, Third Party Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2026:33313 · WEB
- https://access.redhat.com/errata/RHSA-2026:34374 · WEB
- https://access.redhat.com/errata/RHSA-2026:34456 · WEB
- https://access.redhat.com/errata/RHSA-2026:34739 · WEB
- https://access.redhat.com/errata/RHSA-2026:34740 · WEB
- https://access.redhat.com/errata/RHSA-2026:34741 · WEB
- https://access.redhat.com/errata/RHSA-2026:34748 · WEB
- https://access.redhat.com/errata/RHSA-2026:34749 · WEB
- https://access.redhat.com/errata/RHSA-2026:34750 · WEB
- https://access.redhat.com/errata/RHSA-2026:34752 · WEB
- https://access.redhat.com/errata/RHSA-2026:34756 · WEB
- https://access.redhat.com/errata/RHSA-2026:34758 · WEB
- https://access.redhat.com/errata/RHSA-2026:34760 · WEB
- https://access.redhat.com/errata/RHSA-2026:34765 · WEB
- https://access.redhat.com/errata/RHSA-2026:34772 · WEB
- https://access.redhat.com/errata/RHSA-2026:34773 · WEB
- https://access.redhat.com/errata/RHSA-2026:34774 · WEB
- https://access.redhat.com/errata/RHSA-2026:34775 · WEB
- https://access.redhat.com/errata/RHSA-2026:34776 · WEB
- https://access.redhat.com/errata/RHSA-2026:34777 · WEB
- https://access.redhat.com/errata/RHSA-2026:34778 · WEB
- https://access.redhat.com/errata/RHSA-2026:34780 · WEB
- https://access.redhat.com/errata/RHSA-2026:34891 · WEB
- https://access.redhat.com/errata/RHSA-2026:36193 · WEB
- https://access.redhat.com/errata/RHSA-2026:36315 · WEB
- https://access.redhat.com/errata/RHSA-2026:37275 · WEB
- https://access.redhat.com/errata/RHSA-2026:37283 · WEB
- https://access.redhat.com/errata/RHSA-2026:42078
- https://access.redhat.com/errata/RHSA-2026:42079
- https://access.redhat.com/errata/RHSA-2026:42132
- https://access.redhat.com/errata/RHSA-2026:42144
- https://access.redhat.com/errata/RHSA-2026:42644
- https://access.redhat.com/errata/RHSA-2026:50479
- https://access.redhat.com/errata/RHSA-2026:54760
- https://access.redhat.com/errata/RHSA-2026:56347
- https://access.redhat.com/errata/RHSA-2026:60520
- https://access.redhat.com/security/cve/CVE-2026-8643 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2460927 · WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-8643.json · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-8643 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/pip/PYSEC-2026-196.yaml · WEB
- https://github.com/pypa/pip · PACKAGE
- https://github.com/advisories/GHSA-wf93-45jw-7689 · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 1 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Jun 2026)