
CVE catalog
CVE-2026-59831
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
- Severity
- Medium · CVSS 4.4
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.33% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | gh | sid | 2.46.0-4 | vulnerable |
| Debian | gh | trixie | 2.46.0-3 | vulnerable |
| Debian | gh | bookworm | 2.23.0+dfsg1-1 | vulnerable |
| Cpe | gh | Not reported | Not reported | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | gh | source | sid | (unfixed) | not yet assigned | Not reported | [1144403] |
| Debian | gh | source | trixie | (unfixed) | not yet assigned | Not reported | [1144403] |
| Debian | gh | source | bookworm | (unfixed) | not yet assigned | Not reported | [1144403] |
Notes
[trixie] gh: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [gh]Affected
Details (2)
2.23.0+dfsg1-1· amd64 · bookwormAffected
nvd · gh · debian · bookworm; nvd · gh · debian · 12
2.23.0+dfsg1-1· arm64 · bookwormAffected
nvd · gh · debian · bookworm; nvd · gh · debian · 12
[Debian 13 (Trixie)]
- [gh]Affected
Details (2)
2.46.0-3· amd64 · trixieAffected
nvd · gh · debian · 13
2.46.0-3· arm64 · trixieAffected
nvd · gh · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_12163-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-59831]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-59831]
- [https://security-tracker.debian.org/tracker/CVE-2026-59831]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]