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

- Priority: **Routine**
- Reason: Not severe (CVSS 2.1, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-25 · Modified: 2026-08-26
- Aliases: UBUNTU-CVE-2026-72924, DEBIAN-CVE-2026-72924
- Record: https://cvemate.com/vulnerability/CVE-2026-72924 · JSON: https://cvemate.com/vulnerability/CVE-2026-72924/json

## Description

```text
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.
```

## Signals

- CVSS: 2.1 low (v4.0, CVE.org) 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
- EPSS: 0.179%, percentile 7.766%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- cli cli: ≥ 2.28.0, \< 2.98.0
- debian gh (Debian): All versions (No fix recorded)
- ubuntu gh (Ubuntu): All versions (No fix recorded)

## References

- <https://github.com/cli/cli/security/advisories/GHSA-vfhh-p7hm-pxfh>
- <https://github.com/cli/cli/releases/tag/v2.98.0>
- <https://ubuntu.com/security/CVE-2026-72924>
- <https://www.cve.org/CVERecord?id=CVE-2026-72924>
- <https://security-tracker.debian.org/tracker/CVE-2026-72924>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-72924>

---

Data as of 2026-12-05T08:09:15.437Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
