<Vulnerability name="CVE-2026-72924">
    <DocumentDistribution xml:lang="en">Copyright © 2012 Red Hat, Inc. All rights reserved.</DocumentDistribution>
    <ThreatSeverity>Moderate</ThreatSeverity>
    <PublicDate>2026-08-25T21:03:11</PublicDate>
    <Bugzilla id="2524130" url="https://bugzilla.redhat.com/show_bug.cgi?id=2524130" xml:lang="en:us">
github.com/cli/cli: GitHub CLI: Forwarded services exposed on all network interfaces by default
    </Bugzilla>
    <CVSS3 status="draft">
        <CVSS3BaseScore>4.6</CVSS3BaseScore>
        <CVSS3ScoringVector>CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N</CVSS3ScoringVector>
    </CVSS3>
    <CWE>CWE-1327</CWE>
    <Details xml:lang="en:us" source="Mitre">
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.
    </Details>
    <Details xml:lang="en:us" source="Red Hat">
A flaw was found in GitHub CLI. The `gh codespace ports forward` command, by default, exposes forwarded services on all local network interfaces. This allows a network-adjacent attacker to access these services through the user's machine while port forwarding is active, even if the original Codespaces port is private. This can lead to unauthorized access to internal services.
    </Details>
    <PackageState cpe="cpe:/a:redhat:openshift_gitops:1">
        <ProductName>Red Hat OpenShift GitOps</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>openshift-gitops-1/argocd-rhel8</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:openshift_gitops:1">
        <ProductName>Red Hat OpenShift GitOps</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>openshift-gitops-1/argocd-rhel9</PackageName>
    </PackageState>
    <PackageState cpe="cpe:/a:redhat:openstack:18.0">
        <ProductName>Red Hat OpenStack Platform 18.0</ProductName>
        <FixState>Fix deferred</FixState>
        <PackageName>rhoso-operators/openstack-operator-bundle</PackageName>
    </PackageState>
    <References xml:lang="en:us">
https://www.cve.org/CVERecord?id=CVE-2026-72924
https://nvd.nist.gov/vuln/detail/CVE-2026-72924
https://github.com/cli/cli/releases/tag/v2.98.0
https://github.com/cli/cli/security/advisories/GHSA-vfhh-p7hm-pxfh
    </References>
</Vulnerability>