CVE-2026-59831

MEDIUM CVSS 3.1: 4.4 EPSS 0.33%
Updated Jul 14, 2026
GitHub
Parameter Value
CVSS 4.4 (MEDIUM)
Fixed In 2.96.0
Type CWE-829 (Inclusion of Functionality from Untrusted Source)
Vendor GitHub
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
Required
User action required

Impact Assessment

Confidentiality
Low
Partial data leak
Integrity
Low
Partial data modification
Availability
None
No disruption

CVSS Vector v3.1