Back to overview

CVE-2026-59831

MEDIUM
4.4
CVSS 3.1
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.

Metadata

CVE ID
CVE-2026-59831
State
PUBLISHED
Assigner
GitHub_M
Reserved
2026-07-07 15:00 UTC
Published
2026-07-09 22:11 UTC
Last updated
2026-07-09 22:11 UTC
Primary CWE
CWE-829
CWE-829: Inclusion of Functionality from Untrusted Control S…
Vendor / Product
cli / cli
Sources
cve.org  ·  NVD

Severity & Metrics

4.4 MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
Affected products (1)
VendorProductPlatformVersions
cli cli >= 2.10.0, < 2.96.0
Weakness (CWE)
CWESourceDescription
CWE-829 cna CWE-829: Inclusion of Functionality from Untrusted Control Sphere
CVSS scores (1)
ScoreSeverityVersionSourceVector
4.4 MEDIUM 3.1 cna CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
References (3)
Back to overview