PatchSiren

cli CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

LOW cli CVE published 2026-10-15

CVE-2026-64652

CVE-2026-64652 debrief: GitHub CLI token exposure through gh auth status command. The vulnerability allowed part of certain fine-grained personal access tokens and GitHub App tokens to appear in terminal or CI output when running the gh auth status command. This issue affected fine-grained personal access tokens (github_pat_*) and GitHub App installation and user access tokens (ghs_*, ghu_*). The vulnerability is fixed in version 2.97.0. Authenticated users of GitHub CLI should assess their exposure and update to version 2.97.0 or later.

MEDIUM cli CVE published 2026-07-09

CVE-2026-59831

CVE-2026-59831 is a medium-severity vulnerability in GitHub CLI (gh) versions 2.10.0 through 2.95.0. The issue allows command execution when connecting to a malicious Codespace with 'gh codespace jupyter' due to improper validation of JupyterLab URLs supplied by a process inside the Codespace. This could potentially allow a crafted vscode:// or vscode-insiders:// URL to be handed to VS Code. The vulnerability is fixed in version 2.96.0.

HIGH cli CVE published 2026-05-29

CVE-2026-48501

GitHub CLI (gh) versions prior to 2.93.0 incorrectly transmit authorization tokens to external hosts during attestation and release verification operations. The vulnerability stems from flawed host normalization logic in the CLI's shared HTTP client authentication layer, which collapses any *.github.com subdomain to github.com. This causes requests to tuf-repo.github.com—a GitHub Pages site hosting TUF metadata—to receive the user's github.com authentication token. Additionally, when hosts fail to match github.com or a known GitHub Enterprise Server instance, the resolver falls back to GH_ENTERPRISE_TOKEN if configured. The affected commands (gh attestation, gh release verify, and gh release verify-asset) fetch data from multiple external hosts including tuf-repo.github.com, tuf-repo-cdn.sigstore.dev, and Azure Blob Storage, causing tokens to be leaked to these third-party services. This represents a CWE-863 (Incorrect Authorization) vulnerability with CVSS 7.4 (HIGH severity). The issue was resolved in version 2.93.0.

LOW cli CVE published 2026-05-15

CVE-2026-45803

GitHub's official command line tool `gh` has a security vulnerability from version 1.6.0 to before 2.92.0 that allows terminal escape sequence injection when viewing GitHub Actions workflow logs. An attacker can inject escape sequences that are replayed in the user's terminal, potentially changing the window title, manipulating on-screen content, or executing arbitrary commands in some terminal emulators.