CVE catalog

CVE-2026-72924

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. Whi

[CVE catalog]

Severity
Medium · CVSS 4.6CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.26% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianghsid2.46.0-4vulnerable
Debianghtrixie2.46.0-3vulnerable
Debianghbookworm2.23.0+dfsg1-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianghsourcesid(unfixed)not yet assignedNot reported[1145883]
Debianghsourcetrixie(unfixed)not yet assignedNot reported[1145883]
Debianghsourcebookworm(unfixed)not yet assignedNot reported[1145883]

[Debian bug #1145883]

Notes

[trixie] gh: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [gh]Affected
    Details (2)
    • 2.23.0+dfsg1-1 · amd64 · bookworm

      Affected

      nvd · gh · debian · bookworm; nvd · gh · debian · 12

    • 2.23.0+dfsg1-1 · arm64 · bookworm

      Affected

      nvd · gh · debian · bookworm; nvd · gh · debian · 12

[Debian 13 (Trixie)]

  • [gh]Affected
    Details (2)
    • 2.46.0-3 · amd64 · trixie

      Affected

      nvd · gh · debian · 13

    • 2.46.0-3 · arm64 · trixie

      Affected

      nvd · gh · debian · 13

Observed:

References