CVE-2026-59831
GitHub CLI (gh) is GitHub’s official command line tool. From 2.10.0 …
GitHub CLI (gh) is GitHub’s official command line tool. From 2.10.0 through 2.95.0, connecting to a malicious Codespace with gh codespace jupyter can allow command execution because the command opens a JupyterLab URL supplied by a process inside the Codespace without validating that it is a loopback HTTP or HTTPS address, allowing a crafted vscode:// or vscode-insiders:// URL to be handed to VS Code. This issue is fixed in version 2.96.0.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/cli/cli/commit/b300f2ec7ec9dc9addc39b2ad88c54097ded7ca0
- github.com/cli/cli/releases/tag/v2.96.0
- github.com/cli/cli/security/advisories/GHSA-8cg3-r6g9-fpg2
- nvd.nist.gov/vuln/detail/CVE-2026-59831
- github.com/advisories/GHSA-8cg3-r6g9-fpg2
- nvd.nist.gov/vuln/detail/CVE-2026-59831
- cve.org/CVERecord?id=CVE-2026-59831
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.