{"id":"CVE-2026-64654","published":"2026-08-06T18:27:38Z","modified":"2026-08-07T17:09:40Z","title":"GitHub CLI: Terminal escape sequence injection in multiple `gh` commands","vendor":"cli","product":"cli","tier":"tail","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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00769,"percentile":0.56503,"provenance":"source"},"cwes":[{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"references":[{"url":"https://github.com/cli/cli/security/advisories/GHSA-3m3g-3wcr-px46","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cli/cli/commit/2a1409fe88d416cc85fc96fb5bc473f83ed5a054","tags":["x_refsource_MISC"]},{"url":"https://github.com/cli/cli/releases/tag/v2.97.0","tags":["x_refsource_MISC"]}],"priority":{"score":15.0,"factors":[{"name":"EPSS percentile","points":11.3},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"cli","affectedVersions":[{"vendor":"cli","product":"cli","versions":["< 2.97.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-07T15:29:09.364722Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-54218","exploited":false,"provenance":"source"}}