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

[CVE catalog]

Severity
Medium · CVSS 4.4CVSS: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.

DistributionPackageReleaseVersionStatus
Debianghsid2.46.0-4vulnerable
Debianghtrixie2.46.0-3vulnerable
Debianghbookworm2.23.0+dfsg1-1vulnerable
CpeghNot reportedNot reportedvulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianghsourcesid(unfixed)not yet assignedNot reported[1144403]
Debianghsourcetrixie(unfixed)not yet assignedNot reported[1144403]
Debianghsourcebookworm(unfixed)not yet assignedNot reported[1144403]

[Debian bug #1144403]

Notes

[trixie] gh: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [gh]Affected
    Details (2)
    • 2.23.0+dfsg1-1 · amd64 · bookworm

      Affected

      nvd · gh · debian · bookworm; nvd · gh · debian · 12

    • 2.23.0+dfsg1-1 · arm64 · bookworm

      Affected

      nvd · gh · debian · bookworm; nvd · gh · debian · 12

[Debian 13 (Trixie)]

  • [gh]Affected
    Details (2)
    • 2.46.0-3 · amd64 · trixie

      Affected

      nvd · gh · debian · 13

    • 2.46.0-3 · arm64 · trixie

      Affected

      nvd · gh · debian · 13

Observed:

References