CVE-2026-64654: GitHub CLI (gh) is GitHub's official command line tool
Affects ghSource GCVE Database
Mentioned vulnerabilities
Not known to be exploited · CVSS 5.3 Medium · fixed in 2.97.0 : update gh when convenient.
Data as of 29 Nov 2026, 18:37 UTC
- EPSS
- 0.9% chance of exploitation in 30 days – higher than 59% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.97.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10ghpkg:deb/ubuntu/gh?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu Pro 26.04 LTSghpkg:deb/ubuntu/gh?arch=source&distro=esm-apps/resoluteOther threats | Affected
| Fixed in– |
Ubuntu Pro 24.04 LTSghpkg:deb/ubuntu/gh?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSghpkg:deb/ubuntu/gh?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade GitHub CLI to version 2.97.0 or later, where this vulnerability is fixed. No other mitigation is indicated by the vendor advisory.
Description
GitHub CLI (gh) versions prior to 2.97.0 have a vulnerability where multiple commands print externally controlled content without neutralizing terminal escape sequences. This allows an attacker who can influence that content to embed escape sequences that may be interpreted by the user's terminal, potentially causing cosmetic manipulation or, on some terminal emulators, command execution. The issue affects various commands beyond those addressed in a previous related vulnerability (CVE-2026-45803). The vulnerability is fixed in version 2.97.0.
References
- ubuntu.com/security/CVE-2026-64654 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-64654 (opens in a new tab)
- github.com/cli/cli/commit/2a1409fe88d416cc85fc96fb5bc473f83ed5a054 (opens in a new tab)
- github.com/cli/cli/releases/tag/v2.97.0 (opens in a new tab)
- github.com/cli/cli/security/advisories/GHSA-3m3g-3wcr-px46 (opens in a new tab)