{"id":"CVE-2026-64654","aliases":["CVE-2026-64654"],"related":[],"kind":"vulnerability","state":"published","title":"GitHub CLI: Terminal escape sequence injection in multiple `gh` commands","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-08-06T18:27:38.491Z","modified":"2026-09-10T20:36:14.340Z","severity":{"scorer":"GitHub_M","scheme":"CVSS: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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS: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","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-150"],"affected":[{"ranges":[{"version":"< 2.97.0","status":"affected"}],"vendor":"cli","product":"cli","source":"cvelist"}],"references":[{"url":"https://github.com/cli/cli/security/advisories/GHSA-3m3g-3wcr-px46","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cli/cli/commit/2a1409fe88d416cc85fc96fb5bc473f83ed5a054","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/cli/cli/releases/tag/v2.97.0","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-08-07T15:29:09.364Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-64654","url":"https://www.cve.org/CVERecord?id=CVE-2026-64654","licence":"CVE Terms of Use","modified":"2026-08-07T17:09:40.307Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-64654","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64654","licence":"Public domain","modified":"2026-09-10T20:36:14.340Z"}],"updatedAt":"2026-11-25T22:59:31.395Z","epss":{"score":0.00924,"percentile":0.61425,"date":"2026-12-01T12:00:22.000Z"}}