## GitHub CLI gh codespace jupyter may allow code execution via unvalidated URLs from malicious Codespaces

- 種別: advisory
- 重大度: medium
- 関連技術: go, github
- CVE: CVE-2026-59831
- 公開日時: 2026-11-24T22:26:25.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-8cg3-r6g9-fpg2)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-8cg3-r6g9-fpg2

影響: go:github.com/cli/cli/v2 >= 2.10.0, < 2.96.0 → 2.96.0
A security vulnerability has been identified in GitHub CLI that could allow remote code execution when users connect to a malicious Codespace using the gh codespace jupyter command. The command opens JupyterLab by launching a URL in the user's browser, but that URL is supplied by a process running inside the Codespace and the CLI opens it without validating it. The browser launcher accepts vscode:// and vscode-insiders:// links, so a malicious Codespace can return a crafted vscode:// URL. The C…