CVE-2026-59831cli
Medium 4.4
Follow: this CVE · cli · cli We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for cli.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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
- cli · cli
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for gh · SUSE · openSUSE-SU-2026:22134-1 · Oct 19, 2026 High
- gh-2.102.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12163-1 · Oct 17, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.