Exploit database

Vulnerability

CVE-2026-59831

Vulnerability details

Score
4.4
Severity
medium

CVSS 3.1 · [email protected]

Vector string

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N

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.

NVD

Exploit source choices

1 source
googlesky/cve-2026-59831
GH-c5f49f6244297c3d34dff42fd44a3e55GitHubUnofficial GitHub sourcePreferred

GitHub CLI <v2.96.0: gh codespace jupyter opens an unvalidated Codespace URL — vscode:// handling gives workstation code execution. Verbatim isJupyterServerURLValid guard from b300f2e: accepted on vuln, rejected on fixed

2026-11-2526 files · 1 stars