Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 90%

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

0
High
Published: 07/15/2026 (07/15/2026, 01:02:07 UTC)
Source: GCVE Database
Vendor/Project: Microsoft Security Response Center
Product: Microsoft

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). No patch or official remediation has been provided yet. There are no known exploits in the wild at this time.

Affected software

GitHub Actionsmore threats →ai
cli/gh
pkg:github/cli/gh
Affected versions
=3.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 10:45:57 UTC

Technical Analysis

The GitHub CLI 'gh codespace jupyter' command in version 3.0 contains a vulnerability that could allow an attacker controlling a malicious Codespace to execute arbitrary code remotely on the client machine. This vulnerability is identified as CVE-2026-59831 and relates to improper trust boundaries (CWE-829). No CVSS score or detailed vendor advisory is available, and no patch has been linked. The vulnerability affects exactly version 3.0 of the GitHub CLI.

Potential Impact

Successful exploitation could lead to remote code execution on the user's system when connecting to a malicious Codespace via the 'gh codespace jupyter' command. This could allow an attacker to execute arbitrary commands with the privileges of the user running the CLI. No known exploits have been reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the Microsoft Security Response Center advisory for current remediation guidance. Until a fix is available, users should exercise caution when connecting to untrusted or unknown Codespaces using the 'gh codespace jupyter' command.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Csaf Category
csaf_vex
Csaf Version
2.0
Publisher
Microsoft Security Response Center
Advisory Id
msrc_CVE-2026-59831
Cve Count
1
Additional Cves
[]
Cvss Version
null

Threat ID: 6a58b3ff68715ace43d66cdd

Added to database: 07/16/2026, 10:35:43 UTC

Last enriched: 07/16/2026, 10:45:57 UTC

Last updated: 07/16/2026, 19:47:33 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses