{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-64654 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-64654 is a medium-severity command injection vulnerability in cli, published on 6 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-64654 and fix it if it is affected.\n\nWhat it is: CVE-2026-64654 is a medium-severity command injection vulnerability in cli, published on 6 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-64654 in the wild and no public exploit code.\n\nAffected product: cli. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-64654/ (Markdown: https://insights.sbomify.com/CVE-2026-64654/index.md)","id":"CVE-2026-64654","markdown":"https://insights.sbomify.com/CVE-2026-64654/index.md","name":"CVE-2026-64654","record":{"aliases":["AZL-95462","DEBIAN-CVE-2026-64654","GHSA-3m3g-3wcr-px46","UBUNTU-CVE-2026-64654"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution","other"],"network_reachable":"yes","non_default_config":false,"product_category":"GitHub CLI","requires_auth":"none","summary":"Attackers can inject terminal escape sequences into GitHub CLI output, potentially executing commands or manipulating the display on user terminals.","user_interaction":"required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.3,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"GitHub CLI: Terminal escape sequence injection in multiple `gh` commands","id":"CVE-2026-64654","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"GitHub CLI: Attestation Verification Bypass via Unescaped Regex Metacharacters in SAN Matching","id":"CVE-2026-64655"},"packages":[],"prev":{"headline":"GitHub CLI: Unescaped variable components in request URLs could allow path traversal","id":"CVE-2026-64653"},"products":["cli"],"published":"2026-08-06","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-07","vendors":["cli"]},"summary":"Attackers can inject terminal escape sequences into GitHub CLI output, potentially executing commands or manipulating the display on user terminals.","url":"https://insights.sbomify.com/CVE-2026-64654/"}