CVE-2026-64654
published medium CVSS 4.0 · 5.3GitHub CLI: Terminal escape sequence injection in multiple `gh` commands
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cli | — | cli< 2.97.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghaarch64 | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghppc64le | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghs390x | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghx86_64 | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gh-bash-completionnoarch | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gh-fish-completionnoarch | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gh-zsh-completionnoarch | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
Show 16 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | ghaarch64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghppc64le | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghs390x | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghx86_64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completionaarch64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completionppc64le | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completions390x | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completionx86_64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completionaarch64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completionppc64le | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completions390x | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completionx86_64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completionaarch64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completionppc64le | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completions390x | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completionx86_64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cli | cli | < 2.97.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-150 CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences
References
3Provider assertions
2GitHub_M · cna
GitHub CLI: Terminal escape sequence injection in multiple `gh` commands
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bba36d307dd2e0193006e6f79860578ba2aea7df9cc6b760d27f88a757073eae
- Ingested
- 23 Sep 2026, 09:26:10 UTC
- Source record
- Official CVE record