CVE-2026-8643

MEDIUM

pip can extract console_scripts and gui_scripts outside installation directory

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 5.5
EPSS 0.0016
EPSS Percentile 6.0%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-22
Status published
Products (2)
pypa/pip < 26.1.2
Python Packaging Authority/pip < 26.1.2
Published Jun 01, 2026
Tracked Since Jun 01, 2026