Impact
GitHub CLI versions 2.28.0 through 2.97.0 create a listener for the commands gh codespace ports forward that binds to all network interfaces instead of only the loopback interface. Consequently a service running inside a Codespace can be accessed by any host that can reach the user’s machine while port forwarding is active, even though the Codespace port remains intended as private on the GitHub side.
Affected Systems
The affected product is the official GitHub command line tool (gh) identified by the vendor/product pair cli:cli. All releases between 2.28.0 and 2.97.0 inclusive are impacted; the vulnerability is resolved in release 2.98.0.
Risk and Exploitability
The CVSS score of 2.1 indicates a low severity risk. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. An attacker must be on a network that can reach the victim’s host and must have port forwarding enabled to exploit the weakness. The problem does not give an attacker remote code execution or privilege escalation capability; it merely exposes a private service to the local network.
OpenCVE Enrichment