ubuntu-cve-2026-72924
Vulnerability from osv_ubuntu
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.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gh",
"binary_version": "2.4.0+dfsg1-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "gh",
"purl": "pkg:deb/ubuntu/gh@2.4.0+dfsg1-2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.4.0+dfsg1-1",
"2.4.0+dfsg1-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gh",
"binary_version": "2.45.0-1ubuntu0.3+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:24.04:LTS",
"name": "gh",
"purl": "pkg:deb/ubuntu/gh@2.45.0-1ubuntu0.3+esm3?arch=source\u0026distro=esm-apps/noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.27.0+dfsg1-1build1",
"2.30.0-2",
"2.35.0-1",
"2.40.1+dfsg1-1",
"2.42.1-1",
"2.43.1-1",
"2.44.1-1",
"2.44.1-2",
"2.45.0-1",
"2.45.0-1build1",
"2.45.0-1ubuntu0.1",
"2.45.0-1ubuntu0.2",
"2.45.0-1ubuntu0.2+esm1",
"2.45.0-1ubuntu0.2+esm2",
"2.45.0-1ubuntu0.3",
"2.45.0-1ubuntu0.3+esm1",
"2.45.0-1ubuntu0.3+esm2",
"2.45.0-1ubuntu0.3+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gh",
"binary_version": "2.46.0-4ubuntu0.26.04.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:26.04:LTS",
"name": "gh",
"purl": "pkg:deb/ubuntu/gh@2.46.0-4ubuntu0.26.04.1~esm1?arch=source\u0026distro=esm-apps/resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.46.0-3",
"2.46.0-4",
"2.46.0-4ubuntu0.26.04.1~esm1"
]
}
],
"aliases": [],
"details": "GitHub CLI (gh) is GitHub\u0027s 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\u0027s non-loopback local IP addresses by other hosts that can route to the user\u0027s 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\u0027s local machine, even when the source Codespaces port remains private. Exploitation requires a network-adjacent attacker to reach the victim\u0027s machine while forwarding is active. This issue is fixed in version 2.98.0.",
"id": "UBUNTU-CVE-2026-72924",
"modified": "2026-09-02T16:26:09Z",
"published": "2026-08-25T21:17:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-72924"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-72924"
},
{
"type": "REPORT",
"url": "https://github.com/cli/cli/security/advisories/GHSA-vfhh-p7hm-pxfh"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-72924"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.