cve.bz

CVE-2026-72924 cli cli: Exposure of Resource to Wrong Sphere

2.1 lowEPSS 0.3%

Low (2.1) in cli cli. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

2.1 low
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.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 17th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-08-26. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-668 Exposure of Resource to Wrong Sphere
CWE-1327 Binding to an Unrestricted IP Address
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-72924 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-72924?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-72924?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-72924 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
cli>= 2.28.0, < 2.98.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13ghno fix listedDEBIAN-CVE-2026-72924
Ubuntu22.04:LTS, 26.10, Pro:24.04:LTS and 1 moreghno fix listedUBUNTU-CVE-2026-72924
openSUSELeap 16.0gh2.102.0-bp160.1.1openSUSE-SU-2026:22134-1
openSUSETumbleweedgh2.102.0-1.1openSUSE-SU-2026:12163-1
Azure Linux3gh2.101.0-1AZL-98198

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Red Hat has evaluated this issue as having a Moderate severity because exploitation requires an attacker to reside on an adjacent network and is only possible while an interactive Codespaces port-forwarding session is actively running. In standard Red Hat deployments, the GitHub CLI tool is used interactively rather than as a persistent background daemon, limiting exposure to active developer sessions. When forwarding is executed, the tool binds to all local network adapters instead of strictly to loopback interfaces, exposing remote services to adjacent network hosts. Systems not utilizing the Codespaces port redirection feature or protected by host firewalls do not expose services to outside hosts.

Red Hat's mitigation

There are no known mitigations available for this vulnerability at this time. Red Hat recommends applying the available security update once it is released.

ProductPackageStateAdvisory
Red Hat OpenShift GitOpsopenshift-gitops-1/argocd-rhel8Fix deferred
Red Hat OpenShift GitOpsopenshift-gitops-1/argocd-rhel9Fix deferred
Red Hat OpenStack Platform 18.0rhoso-operators/openstack-operator-bundleFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-72924.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON