4.4

CVE-2026-59831: GitHub CLI `gh codespace jupyter` could allow remote code execution when connecting to a malicious Codespace

Awaiting analysis
AliasesUBUNTU-CVE-2026-59831DEBIAN-CVE-2026-59831GHSA-8cg3-r6g9-fpg2
Published 09-07-2026Last modified 14-07-2026

Vulnerability summary

CVE-2026-59831 is a medium (CVSS 4.4) vulnerability in cli. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 18.7% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.4, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
4.4/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.26%
0%100%
Low · -0.07 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 2

Timeline

  1. 09-07-2026
    PublishedVulnerability first disclosed.
  2. 14-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

Decrease -0.07 pp

From 0.33% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Cli1 product
  • cli≥ 2.10.0, < 2.96.0
Debian1 product
  • ghAll versions (No fix recorded)
Github.com/cli/cli1 product
  • v2≥ 2.10.0, < 2.96.0
Ubuntu1 product
  • ghAll versions (No fix recorded)

4 vendors · 4 products

References

8 links