CVE-2026-59831
published medium CVSS 3.1 · 4.4GitHub CLI `gh codespace jupyter` could allow remote code execution when connecting to a malicious Codespace
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cli | — | cli>= 2.10.0, < 2.96.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghaarch64 | Advisory build | 2.102.0-bp160.1.1 | OPENSUSE-SU-2026:22134-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghppc64le | Advisory build | 2.102.0-bp160.1.1 | OPENSUSE-SU-2026:22134-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghs390x | Advisory build | 2.102.0-bp160.1.1 | OPENSUSE-SU-2026:22134-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghx86_64 | Advisory build | 2.102.0-bp160.1.1 | OPENSUSE-SU-2026:22134-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gh-bash-completionnoarch | Advisory build | 2.102.0-bp160.1.1 | OPENSUSE-SU-2026:22134-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gh-fish-completionnoarch | Advisory build | 2.102.0-bp160.1.1 | OPENSUSE-SU-2026:22134-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gh-zsh-completionnoarch | Advisory build | 2.102.0-bp160.1.1 | OPENSUSE-SU-2026:22134-1 |
Show 16 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | ghaarch64 | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghppc64le | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghs390x | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghx86_64 | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completionaarch64 | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completionppc64le | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completions390x | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completionx86_64 | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completionaarch64 | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completionppc64le | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completions390x | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completionx86_64 | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completionaarch64 | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completionppc64le | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completions390x | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completionx86_64 | Advisory build | 2.102.0-1.1 | OPENSUSE-SU-2026:12163-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cli | cli | >= 2.10.0, < 2.96.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-829 CWE-829: Inclusion of Functionality from Untrusted Control Sphere
References
3Provider assertions
2GitHub_M · cna
GitHub CLI `gh codespace jupyter` could allow remote code execution when connecting to a malicious Codespace
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5c50dcf38b7a86995cbec308fe4e5e24f785ccc5741d67de5717e55fd79f4995
- Ingested
- 23 Sep 2026, 09:22:51 UTC
- Source record
- Official CVE record