CVE-2026-8643: pip can extract console_scripts and gui_scripts outside installation directory
Vulnerability summary
CVE-2026-8643 is a high (CVSS 8.0) vulnerability in pypa pip. EPSS estimates a 0.32% chance of exploitation in the next 30 days, higher than 26.9% of scored vulnerabilities.
Not severe (CVSS 4.1, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 17 · Related 15Timeline
- 01-06-2026PublishedVulnerability first disclosed.
- 16-09-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
11 scores · 8 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated4.1MediumCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated4.1MediumCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated4.1MediumCVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:A/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
- NVDNIST4.1MediumCVSS: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 · PypiEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NDiffers
- OSV · Red hatEcosystem advisory · calculated8.0HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NDiffers
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:NDiffers
EPSS trend
Probability
0.32%
Chance of exploitation in the next 30 days
Percentile
27%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.32% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard18 products
- bazel-module-rules_python-1.6.0All versions (No fix recorded)
- datadog-agent-7.76All versions (No fix recorded) | < 7.76.3-r41
- graalvm-25-graalpyAll versions (No fix recorded)
- graalvm-25-graalpy-venv< 25.0.3-r7
- graalvm-25.1-graalpyAll versions (No fix recorded)
Redhat5 products
- python-pip< 0:26.1.1-3.1.hum1
- python-pip-wheel< 0:26.1.1-3.1.hum1
- python3-pip< 0:26.1.1-3.1.hum1
- python3.14-pip< 0:25.2-3.el10_2.5 | < 0:25.2-3.el9_8.5
- python3.14-pip-wheel< 0:25.2-3.el10_2.5 | < 0:25.2-3.el9_8.5
Opensuse3 products
- python-pip&distro=openSUSE Leap 16.0< 25.0.1-160000.5.1
- python-pip&distro=openSUSE Tumbleweed< 26.1.2-1.1
- python313< 3.13.18-4.1
Suse2 products
- python-pip&distro=SUSE Linux Enterprise Server 16.0< 25.0.1-160000.5.1
- python-pip&distro=SUSE Linux Enterprise Server for SAP applications 16.0< 25.0.1-160000.5.1
Debian1 product
- python-pipAll versions (No fix recorded) | < 26.1.2+dfsg-1
Pypa1 product
- pip< 26.1.2
PyPI1 product
- pip< 26.1.2
Python packaging authority1 product
- pip≥ 24.0, < 26.1.2
Ubuntu1 product
- python-pipAll versions (No fix recorded) | < 22.0.2+dfsg-1ubuntu0.7+esm5 | < 24.0+dfsg-1ubuntu1.3+esm5 | < 25.1.1+dfsg-1ubuntu2+esm5
Wolfi1 product
- datadog-agent-7.76All versions (No fix recorded)
10 vendors · 34 products
References
63 links- mail.python.org/archives/list/[email protected]/thread/YV63UET5D3OOJY7O4M5XCVYO2YM4NBYJ/Vendor AdvisoryAdvisoryMailing List
Show all 63 references
- github.com/pypa/pipPACKAGE
- images.redhat.comARTICLE
- pypi.org/project/pipPACKAGE