Microsoft · GitHub CLI `gh codespace jupyter` could allow remote code execution when connecting to a malicious Codespace
Affects MicrosoftSource GCVE Database
Not known to be exploited : upgrade to 2.96.0 soon.
Data as of 29 Nov 2026, 18:37 UTC
Rated by Threat Radar · No CVSS score from NVD or the CNA
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 18% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.96.0
Exploitation evidence
Disclosed: evidence found.
CVE published 15 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade github.com/cli/cli/v2 to 2.96.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Gogithub.com/cli/cli/v2pkg:golang/github.com/cli/cli/v2Other threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, users should exercise caution when connecting to untrusted or unknown Codespaces using the 'gh codespace jupyter' command.
Description
A vulnerability exists in GitHub CLI version 3.0 where the 'gh codespace jupyter' command could allow remote code execution when connecting to a malicious Codespace. This issue is tracked as CVE-2026-59831 and is associated with CWE-829 (Inclusion of Functionality from Untrusted Control Sphere). There are no known exploits in the wild at this time.