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

Published Aug 6, 2026
·
Updated

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.

Affected Software

1 affected component
GitHub GitHub CLI (gh)<2.97.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade github-cli/gh to a version that resolves this vulnerability.

    Fixed in 2.97.0

Event History

Aug 6, 2026
CVE Published
via MITRE·06:27 PM
Data Sourced
via MITRE·06:27 PM
DescriptionWeakness
Data Sourced
via NVD·10:18 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-64654?

The severity of CVE-2026-64654 is rated at 60.

2

How do I fix CVE-2026-64654?

To fix CVE-2026-64654, upgrade to GitHub CLI version 2.97.0 or higher.

3

What commands are affected by CVE-2026-64654?

CVE-2026-64654 affects multiple GitHub CLI commands that print externally controlled content.

4

What type of vulnerability is CVE-2026-64654?

CVE-2026-64654 is a terminal escape sequence injection vulnerability.

5

Who is affected by CVE-2026-64654?

Users of GitHub CLI prior to version 2.97.0 are affected by CVE-2026-64654.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203