Vulnerability in Cli

CVE-2026-59831

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 4.4 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N.

EPSS exploit prediction

EPSS: 0.003 (23.7th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 24th percentile — 23.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-59831: held from 0.003 to 0.003.

EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000

Affected products

  • Cli — versions >= 2.10.0, < 2.96.0

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-59831?
CVE-2026-59831 is a medium-severity vulnerability in Cli, classified under Inclusion of Functionality from Untrusted Control Sphere. CVSS score: 4.4/10. Published 2026-07-09.
How severe is CVE-2026-59831?
Medium severity. CVSS v3 base score is 4.4 out of 10.