{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-72924",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2026-08-10T17:57:26.144Z",
        "datePublished": "2026-08-25T21:03:11.560Z",
        "dateUpdated": "2026-08-25T21:03:11.560Z"
    },
    "containers": {
        "cna": {
            "title": "GitHub CLI: `gh codespace ports forward` exposes forwarded services on all network interfaces by default",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-1327",
                            "lang": "en",
                            "description": "CWE-1327: Binding to an Unrestricted IP Address",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-668",
                            "lang": "en",
                            "description": "CWE-668: Exposure of Resource to Wrong Sphere",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "attackVector": "ADJACENT",
                        "attackComplexity": "LOW",
                        "attackRequirements": "PRESENT",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "vulnConfidentialityImpact": "LOW",
                        "vulnIntegrityImpact": "LOW",
                        "vulnAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "subAvailabilityImpact": "NONE",
                        "baseScore": 2.1,
                        "baseSeverity": "LOW",
                        "vectorString": "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",
                        "version": "4.0"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/cli/cli/security/advisories/GHSA-vfhh-p7hm-pxfh",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/cli/cli/security/advisories/GHSA-vfhh-p7hm-pxfh"
                },
                {
                    "name": "https://github.com/cli/cli/releases/tag/v2.98.0",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/cli/cli/releases/tag/v2.98.0"
                }
            ],
            "affected": [
                {
                    "vendor": "cli",
                    "product": "cli",
                    "versions": [
                        {
                            "version": ">= 2.28.0, < 2.98.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2026-08-25T21:03:11.560Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "source": {
                "advisory": "GHSA-vfhh-p7hm-pxfh",
                "discovery": "UNKNOWN"
            }
        }
    }
}