# CVE-2026-64654: GitHub CLI: Terminal escape sequence injection in multiple `gh` commands

CVE-2026-64654 is fixed in 2 products on 2 platforms, first by GitHub CLI 2.97.0, released July 31, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-64654
- Priority: Routine
- CVSS: 5.3 (Moderate)
- EPSS: 0.0077
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Aug 6, 2026
- Weakness: Improper Neutralization of Escape, Meta, or Control Sequences
- Vendor advisory: https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-64654

## Description

GitHub CLI (gh) is GitHub's official command line tool. Prior to version 2.97.0, multiple GitHub CLI commands printed externally controlled gist, API, pull request, release, codespace, skill, or agent-task content without neutralizing terminal escape sequences. An attacker who can influence that content can embed escape sequences that are interpreted by the terminal of a user who runs an affected command, with impact ranging from cosmetic manipulation of the title or on-screen content to, on some terminal emulators, command execution. This extends the same class of issue as CVE-2026-45803—which addressed only gh run view --log—to the other affected command paths. This issue is fixed in version 2.97.0.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Windows apps | GitHub CLI | 2.97.0 | [GitHub CLI 2.97.0](https://patchblox.com/security/data/fix/windows-app/github.cli-2.97.0.md) | Jul 31, 2026 |
| Linux | gh opensuse-leap 16.0 | 2.98.0-bp160.1.1 | [OPENSUSE-SU-2026:21663-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21663-1.md) | Aug 26, 2026 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
