Security mailing lists by PureSourceCode

CVE-2026-8643

MEDIUM 4.1CVSS 4.0

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

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.

Published
1 Jun 2026
Last modified
16 Sep 2026
Assigned by
cna@python.org
NVD status
Modified
Weakness
CWE-22
Also known as
GHSA-wf93-45jw-7689PYSEC-2026-196
Sources
NVDJSONOSV GHSA-wf93-45jw-7689JSONOSV PYSEC-2026-196JSON

Scores

SourceScored byVersionScoreVector / decision
NVD cna@python.org (Secondary) CVSS 4.0 MEDIUM 4.1 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 8.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.0 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
OSV PyPA CVSS 3.1 MEDIUM 5.5 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pypa pip
cpe:2.3:a:pypa:pip:*:*:*:*:*:*:*:*
< 26.1.2 26.1.2
OSV PyPI pip < 26.1.2 26.1.2

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 1 Jun 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Jun 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 1 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.