Skip to main content
CVE-2026-59831VulnerabilityPublished Updated

Microsoft · GitHub CLI `gh codespace jupyter` could allow remote code execution when connecting to a malicious Codespace

Affects MicrosoftSource GCVE Database

0
Compare

Not known to be exploited : upgrade to 2.96.0 soon.

Data as of 29 Nov 2026, 18:37 UTC

Severity
High

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

  1. Disclosed: evidence found.

    CVE published 15 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: evidence found.

    Public exploit code: GitHub proofs of concept

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Gogithub.com/cli/cli/v2pkg:golang/github.com/cli/cli/v2Other threatsAffected
  • >=2.10.0 <2.96.0
Fixed in
  • 2.96.0

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.

References

Community reviews

Loading reviews…