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

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-06 · Modified: 2026-08-07
- Aliases: UBUNTU-CVE-2026-64654, DEBIAN-CVE-2026-64654
- Record: https://cvemate.com/vulnerability/CVE-2026-64654 · JSON: https://cvemate.com/vulnerability/CVE-2026-64654/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v4.0, CVE.org) CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- EPSS: 0.924%, percentile 61.601%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- cli cli: \< 2.97.0
- debian gh (Debian): All versions (No fix recorded)
- ubuntu gh (Ubuntu): All versions (No fix recorded)

## References

- <https://github.com/cli/cli/security/advisories/GHSA-3m3g-3wcr-px46>
- <https://github.com/cli/cli/commit/2a1409fe88d416cc85fc96fb5bc473f83ed5a054>
- <https://github.com/cli/cli/releases/tag/v2.97.0>
- <https://ubuntu.com/security/CVE-2026-64654>
- <https://www.cve.org/CVERecord?id=CVE-2026-64654>
- <https://security-tracker.debian.org/tracker/CVE-2026-64654>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-64654>

---

Data as of 2026-12-05T08:28:36.343Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
