GitHub CLI gh codespace jupyter may allow code execution via unvalidated URLs from malicious Codespaces
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| go:github.com/cli/cli/v2 | >= 2.10.0, < 2.96.0 | 2.96.0 |
A security vulnerability has been identified in GitHub CLI that could allow remote code execution when users connect to a malicious Codespace using the gh codespace jupyter command. The command opens JupyterLab by launching a URL in the user's browser, but that URL is supplied by a process running inside the Codespace and the CLI opens it without validating it. The browser launcher accepts vscode:// and vscode-insiders:// links, so a malicious Codespace can return a crafted vscode:// URL. The C…
Read on GitHub Advisory Database
On 11/25/2026, 07:26 AM, GitHub Advisory Database published "GitHub CLI gh codespace jupyter may allow code execution via unvalidated URLs from malicious Codespaces" (type: Advisory). Severity is "Medium" (medium). Related technologies: Go, GitHub. CVE: CVE-2026-59831.