← Back to CVE search

CVE-2026-72924

gh

Description

GitHub CLI (gh) is GitHub-s official command line tool. Versions 2.28.0 through 2.97.0 bind the local listener created by gh codespace ports forward to all available network interfaces by default. While port forwarding is active, a service in a Codespace can therefore become reachable through the user-s non-loopback local IP addresses by other hosts that can route to the user-s machine. This behavior does not change the GitHub-side visibility of the Codespaces port. Instead, it exposes the forwarded service through a wildcard-bound listener on the user-s local machine, even when the source Codespaces port remains private. Exploitation requires a network-adjacent attacker to reach the victim-s machine while forwarding is active. This issue is fixed in version 2.98.0.

CVSS 2.1EPSS 0.179%Risk 0.21
View source
Published
2026-08-25 21:17:45
Affected versions
>=2.28.0,<2.98.0
Type
Library
Last modified
2026-08-26 15:16:51
Vector
CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/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