Advisory

GHSA-wf93-45jw-7689

Also known as: CVE-2026-8643, PYSEC-2026-196

Summary

pip: Path traversal in console_scripts/gui_scripts entry point names allows installing scripts outside of target directory

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-06-01 18:31 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

pip

PyPI · All systems

Affected

  • introduced 0, fixed 26.1.2 (ecosystem)

Fixed versions

26.1.2

Fix

  • Fixed version 26.1.2
    pip install --upgrade pip==26.1.2

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences