Live threats

All CVEs / cli

CVE-2026-59831cli

Medium 4.4

Priority
26
CVSS 3.1
4.4
EPSS
—
Auth required
Yes
Published
Jul 9, 2026
Updated
Jul 14, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-829
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for cli.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/cli/cli/v2 ≥ 2.10.0 < 2.96.0 2.96.0 go get github.com/cli/cli/v2@v2.96.0

Per OSV / GitHub Advisories (GHSA-8cg3-r6g9-fpg2). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.