Improper access control in GitHub CLI - CVE-2026-72924
Published: August 21, 2026
Vulnerability details
The vulnerability allows a remote user to access a forwarded service and disclose sensitive information.
The vulnerability exists due to improper access control in the `gh codespace ports forward` local TCP listener when creating a forwarded port listener bound to all network interfaces by default. A remote user can connect to the exposed non-loopback listener to access a forwarded service and disclose sensitive information.
Exploitation requires the victim to be actively forwarding a port and the attacker to be able to route traffic to the victim\'s machine.