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.
References
Link Providers
http://www.openwall.com/lists/oss-security/2026/06/01/5 cve-icon
https://access.redhat.com/errata/RHSA-2026:33313 cve-icon
https://access.redhat.com/errata/RHSA-2026:34374 cve-icon
https://access.redhat.com/errata/RHSA-2026:34456 cve-icon
https://access.redhat.com/errata/RHSA-2026:34739 cve-icon
https://access.redhat.com/errata/RHSA-2026:34740 cve-icon
https://access.redhat.com/errata/RHSA-2026:34741 cve-icon
https://access.redhat.com/errata/RHSA-2026:34748 cve-icon
https://access.redhat.com/errata/RHSA-2026:34749 cve-icon
https://access.redhat.com/errata/RHSA-2026:34750 cve-icon
https://access.redhat.com/errata/RHSA-2026:34752 cve-icon
https://access.redhat.com/errata/RHSA-2026:34756 cve-icon
https://access.redhat.com/errata/RHSA-2026:34758 cve-icon
https://access.redhat.com/errata/RHSA-2026:34760 cve-icon
https://access.redhat.com/errata/RHSA-2026:34765 cve-icon
https://access.redhat.com/errata/RHSA-2026:34772 cve-icon
https://access.redhat.com/errata/RHSA-2026:34773 cve-icon
https://access.redhat.com/errata/RHSA-2026:34774 cve-icon
https://access.redhat.com/errata/RHSA-2026:34775 cve-icon
https://access.redhat.com/errata/RHSA-2026:34776 cve-icon
https://access.redhat.com/errata/RHSA-2026:34777 cve-icon
https://access.redhat.com/errata/RHSA-2026:34778 cve-icon
https://access.redhat.com/errata/RHSA-2026:34780 cve-icon
https://access.redhat.com/errata/RHSA-2026:34891 cve-icon
https://access.redhat.com/errata/RHSA-2026:36193 cve-icon
https://access.redhat.com/errata/RHSA-2026:36315 cve-icon
https://access.redhat.com/errata/RHSA-2026:37275 cve-icon
https://access.redhat.com/errata/RHSA-2026:37283 cve-icon
https://access.redhat.com/errata/RHSA-2026:42078 cve-icon
https://access.redhat.com/errata/RHSA-2026:42079 cve-icon
https://access.redhat.com/errata/RHSA-2026:42132 cve-icon
https://access.redhat.com/errata/RHSA-2026:42144 cve-icon
https://access.redhat.com/errata/RHSA-2026:42644 cve-icon
https://access.redhat.com/errata/RHSA-2026:50479 cve-icon
https://access.redhat.com/security/cve/CVE-2026-8643 cve-icon
https://bugzilla.redhat.com/show_bug.cgi?id=2460927 cve-icon
https://github.com/pypa/pip/commit/8eb178480bd1a2b223f509fc430796b265158dfb cve-icon
https://github.com/pypa/pip/pull/14000 cve-icon cve-icon
https://mail.python.org/archives/list/security-announce@python.org/thread/YV63UET5D3OOJY7O4M5XCVYO2YM4NBYJ/ cve-icon cve-icon
https://nvd.nist.gov/vuln/detail/CVE-2026-8643 cve-icon
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-8643.json cve-icon
https://www.cve.org/CVERecord?id=CVE-2026-8643 cve-icon
History

Thu, 04 Jun 2026 17:00:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:pypa:pip:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 8.0, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'}


Mon, 01 Jun 2026 21:30:00 +0000

Type Values Removed Values Added
References

Mon, 01 Jun 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 01 Jun 2026 17:00:00 +0000

Type Values Removed Values Added
Description A flaw was found in pip, the package installer for Python. A remote attacker can exploit this vulnerability by tricking a victim into installing a malicious Python wheel. This wheel contains specially crafted entry-point names that use directory traversal or absolute paths. This allows pip to write generated script wrappers outside the intended installation directory, leading to arbitrary file overwrite. This can severely impact system integrity and availability, and in certain scenarios, may lead to arbitrary code execution. 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.
Title python-pip: Path traversal via malicious entry point name in pip wheel installation allows arbitrary file overwrite pip can extract console_scripts and gui_scripts outside installation directory
References
Metrics cvssV4_0

{'score': 4.1, 'vector': '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'}


Thu, 28 May 2026 05:45:00 +0000

Type Values Removed Values Added
First Time appeared Pypa
Pypa pip
Vendors & Products Pypa
Pypa pip

Thu, 28 May 2026 00:15:00 +0000

Type Values Removed Values Added
Description A flaw was found in pip, the package installer for Python. A remote attacker can exploit this vulnerability by tricking a victim into installing a malicious Python wheel. This wheel contains specially crafted entry-point names that use directory traversal or absolute paths. This allows pip to write generated script wrappers outside the intended installation directory, leading to arbitrary file overwrite. This can severely impact system integrity and availability, and in certain scenarios, may lead to arbitrary code execution.
Title python-pip: Path traversal via malicious entry point name in pip wheel installation allows arbitrary file overwrite
Weaknesses CWE-22
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.0, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'}

threat_severity

Important


cve-icon MITRE

Status: PUBLISHED

Assigner: PSF

Published: 2026-06-01T15:01:32.143Z

Updated: 2026-08-10T12:05:44.909Z

Reserved: 2026-05-14T20:21:04.562Z

Link: CVE-2026-8643

cve-icon Vulnrichment

Updated: 2026-06-01T18:55:02.964Z

cve-icon NVD

Status : Modified

Published: 2026-06-01T17:17:35.770

Modified: 2026-08-05T13:24:54.313

Link: CVE-2026-8643

cve-icon Redhat

Severity : Important

Publid Date: 2026-05-27T17:03:36Z

Links: CVE-2026-8643 - Bugzilla