CVE-2026-8643 MEDIUM

CVE-2026-8643: pip can extract console_scripts and gui_scripts outside installation directory

Vendor Python Packaging Authority
Product pip
Published June 1, 2026
Last update June 30, 2026

CVSS base score

4.1/10
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction
Confidentiality
Integrity

CVSS 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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

June 1, 2026 CVE published
June 30, 2026 Record updated