CVE-2026-8643

published 1 Jun 2026 · updated 16 Nov 2026

pip can extract console_scripts and gui_scripts outside installation directory

4.1MediumCVSS 4.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 26.1.2.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Python Packaging Authority>=24.0 <26.1.226.1.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-8643 severity on Zeptric[![CVE-2026-8643](https://zeptric.io/badge/cve/CVE-2026-8643.svg)](https://zeptric.io/cve/CVE-2026-8643)