CVE Explorer
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 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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"cli","vendor":"cli","versions":[{"status":"affected","version":">= 2.10.0, < 2.96.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:15c477050e823ca902c0d4d899b7ad8d26fe5b39e091903e4333d6c3f3e503d1 · sha256:38df621b5bfd607c… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:15c477050e823ca902c0d4d899b7ad8d26fe5b39e091903e4333d6c3f3e503d1 · sha256:38df621b5bfd607c… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-829","description":"CWE-829: Inclusion of Functionality from Untrusted Control Sphere","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:15c477050e823ca902c0d4d899b7ad8d26fe5b39e091903e4333d6c3f3e503d1 · sha256:38df621b5bfd607c… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/cli/cli/commit/b300f2ec7ec9dc9addc39b2ad88c54097ded7ca0","tags":["x_refsource_MISC"],"url":"https://github.com/cli/cli/commit/b300f2ec7ec9dc9addc39b2ad88c54097ded7ca0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:15c477050e823ca902c0d4d899b7ad8d26fe5b39e091903e4333d6c3f3e503d1 · sha256:38df621b5bfd607c… · /containers/cna/references/1
{"name":"https://github.com/cli/cli/releases/tag/v2.96.0","tags":["x_refsource_MISC"],"url":"https://github.com/cli/cli/releases/tag/v2.96.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:15c477050e823ca902c0d4d899b7ad8d26fe5b39e091903e4333d6c3f3e503d1 · sha256:38df621b5bfd607c… · /containers/cna/references/2
{"name":"https://github.com/cli/cli/security/advisories/GHSA-8cg3-r6g9-fpg2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/cli/cli/security/advisories/GHSA-8cg3-r6g9-fpg2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:15c477050e823ca902c0d4d899b7ad8d26fe5b39e091903e4333d6c3f3e503d1 · sha256:38df621b5bfd607c… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.