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

CVE-2026-72924 is fixed in 2 products on 2 platforms, first by GitHub CLI 2.98.0, released August 20, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-72924
- Priority: Routine
- CVSS: 2.1 (Low)
- EPSS: 0.0026
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 25, 2026
- Weakness: Binding to an Unrestricted IP Address
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-72924

## 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.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | GitHub CLI | 2.98.0 | [GitHub CLI 2.98.0](https://patchblox.com/security/data/fix/windows-app/github.cli-2.98.0.md) | Aug 20, 2026 |
| Linux | gh opensuse-leap 16.0 | 2.102.0-bp160.1.1 | [OPENSUSE-SU-2026:22134-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-22134-1.md) | Nov 7, 2026 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
