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
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| cli | cli | >= 2.10.0, < 2.96.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | gh | No fix yet | — |
| Debian 12 | gh | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | gh | No fix yet | — |
| Ubuntu 22.04 LTS | gh | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 26.04 LTS | gh | No fix yet | — |
| Ubuntu Pro 24.04 LTS | gh | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | gh | 2.102.0-1.1 | openSUSE-SU-2026:12163-1 |
| openSUSE Leap 16.0 | gh | 2.102.0-bp160.1.1 | openSUSE-SU-2026:22134-1 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | gh | 2.62.0-20 | — |
Advisories 2
- openSUSE-SU-2026:22134-1 Security update for gh SUSE / openSUSE Security Updates · Oct 20, 2026
- openSUSE-SU-2026:12163-1 gh-2.102.0-1.1 on GA media SUSE / openSUSE Security Updates · Oct 18, 2026