2.1

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

Deferred
AliasesUBUNTU-CVE-2026-72924DEBIAN-CVE-2026-72924
Published 25-08-2026Last modified 26-08-2026

Vulnerability summary

CVE-2026-72924 is a low (CVSS 2.1) Exposure of Resource to Wrong Sphere vulnerability in cli. EPSS estimates a 0.18% chance of exploitation in the next 30 days, higher than 7.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 2.1, adjacent network); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
2.1/10
010
Low · v4.0 (CVE.org)
EPSS score
0.18%
0%100%
Low · -0.08 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 25-08-2026
    PublishedVulnerability first disclosed.
  2. 26-08-2026
    Last modifiedVulnerability information updated.

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 metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.18%

Chance of exploitation in the next 30 days

Percentile

8%

Versus all other CVEs

30-day change

Decrease -0.08 pp

From 0.26% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: adjacent network, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Cli1 product
  • cli≥ 2.28.0, < 2.98.0
Debian1 product
  • ghAll versions (No fix recorded)
Ubuntu1 product
  • ghAll versions (No fix recorded)

3 vendors · 3 products

References

6 links