Medium severity4.4OSV Advisory· Published Jul 9, 2026· Updated Jul 14, 2026
CVE-2026-59831
CVE-2026-59831
Description
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.
Affected products
5- ghsa-coords3 versionspkg:golang/github.com/cli/cli/v2pkg:rpm/opensuse/gh&distro=openSUSE%20Leap%2016.0pkg:rpm/opensuse/gh&distro=openSUSE%20Tumbleweed
>= 2.10.0, < 2.96.0+ 2 more
- (no CPE)range: >= 2.10.0, < 2.96.0
- (no CPE)range: < 2.102.0-bp160.1.1
- (no CPE)range: < 2.102.0-1.1
Patches
Vulnerability mechanics
References
5News mentions
0No linked articles in our index yet.