Advisory

PYSEC-2026-196

Also known as: CVE-2026-8643, GHSA-wf93-45jw-7689

Summary

The record has no summary.

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: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Dates

Published
2026-06-01 17:17 UTC
Modified
2026-07-13 16:45 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: PyPA Advisory Database · CC BY 4.0

Sources & licences