CVE-2026-72924
published low CVSS 4.0 · 2.1GitHub CLI: `gh codespace ports forward` exposes forwarded services on all network interfaces by default
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cli | — | cli>= 2.28.0, < 2.98.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghaarch64 | Advisory build | 2.102.0-bp160.1.1 | OPENSUSE-SU-2026:22134-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghppc64le | Advisory build | 2.102.0-bp160.1.1 | OPENSUSE-SU-2026:22134-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghs390x | Advisory build | 2.102.0-bp160.1.1 | OPENSUSE-SU-2026:22134-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghx86_64 | Advisory build | 2.102.0-bp160.1.1 | OPENSUSE-SU-2026:22134-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gh-bash-completionnoarch | Advisory build | 2.102.0-bp160.1.1 | OPENSUSE-SU-2026:22134-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gh-fish-completionnoarch | Advisory build | 2.102.0-bp160.1.1 | OPENSUSE-SU-2026:22134-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gh-zsh-completionnoarch | Advisory build | 2.102.0-bp160.1.1 | OPENSUSE-SU-2026:22134-1 |
Show 16 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | ghaarch64 | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghppc64le | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghs390x | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghx86_64 | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completionaarch64 | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completionppc64le | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completions390x | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completionx86_64 | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completionaarch64 | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completionppc64le | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completions390x | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completionx86_64 | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completionaarch64 | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completionppc64le | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completions390x | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completionx86_64 | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cli | cli | >= 2.28.0, < 2.98.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-1327 CWE-1327: Binding to an Unrestricted IP Address
- CWE-668 CWE-668: Exposure of Resource to Wrong Sphere
References
2Provider assertions
2GitHub_M · cna
GitHub CLI: `gh codespace ports forward` exposes forwarded services on all network interfaces by default
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e2c3973c0886a3751de76c21d39ca61a9635c52cf5648e253d656aced4b6e217
- Ingested
- 23 Sep 2026, 09:30:18 UTC
- Source record
- Official CVE record