Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-72924— GitHub CLI: `gh codespace ports forward` exposes forwarded services on all network interfaces by default

Quick assessment

Affected
cli cli
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

GitHub CLI是GitHub CLI组织开源的一款命令行界面工具。 GitHub CLI 2.28.0版本至2.97.0版本存在安全漏洞,该漏洞源于默认将gh codespace端口转发创建的本地监听器绑定到所有可用网络接口,可能导致网络相邻攻击者在端口转发期间访问到本应私有的服务。

CVSS 2.1 · Low EPSS 0.26% · P16

Affected Version Matrix 1

VendorProduct Version RangeStatus
cli cli >= 2.28.0, < 2.98.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-72924

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
GitHub CLI: `gh codespace ports forward` exposes forwarded services on all network interfaces by default
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
CWE-1327
Source: CVE Program / CVE List V5
Vulnerability Title
GitHub CLI 配置错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
GitHub CLI是GitHub CLI组织开源的一款命令行界面工具。 GitHub CLI 2.28.0版本至2.97.0版本存在安全漏洞,该漏洞源于默认将gh codespace端口转发创建的本地监听器绑定到所有可用网络接口,可能导致网络相邻攻击者在端口转发期间访问到本应私有的服务。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
cli cli >= 2.28.0, < 2.98.0 -

II. Public POCs for CVE-2026-72924

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-72924

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-72924 (1)

Vendor Pages for CVE-2026-72924 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-72924

No comments yet


Leave a comment