{"schemaVersion":3,"id":"CVE-2026-64654","aliases":["UBUNTU-CVE-2026-64654","DEBIAN-CVE-2026-64654"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2026-08-06T18:27:38.491Z","modified":"2026-08-07T17:09:40.307Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","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","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"CVE.org","score":5.3,"severity":"medium","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","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Ubuntu","score":5.3,"severity":"medium","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","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Debian","score":5.3,"severity":"medium","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"NVD","score":5.3,"severity":"medium","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00769,"percentile":0.54864,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.023000000000000017,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00746},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00746,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00746,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00746,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00746,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00746,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00746,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00746,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00746,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00746,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00746,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00769,"percentile":0.54864}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00746,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00746,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00746,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00746,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00769,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00769,"percentile":0.54864}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-150","name":"Improper Neutralization of Escape, Meta, or Control Sequences","description":"The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as escape, meta, or control character sequences when they are sent to a downstream component.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/150.html"}],"affected":[{"vendor":"cli","product":"cli","name":"cli","label":"cli","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.97.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.97.0","eol":null,"hubHref":"/vendor/cli/cli"},{"vendor":"debian","product":"gh","name":"gh","label":"gh","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/gh","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"gh","name":"gh","label":"gh","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/gh","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/cli/cli/security/advisories/GHSA-3m3g-3wcr-px46","label":"github.com/cli/cli/security/advisories/GHSA-3m3g-3wcr-px46","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT"]},{"url":"https://github.com/cli/cli/commit/2a1409fe88d416cc85fc96fb5bc473f83ed5a054","label":"github.com/cli/cli/commit/2a1409fe88d416cc85fc96fb5bc473f83ed5a054","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://github.com/cli/cli/releases/tag/v2.97.0","label":"github.com/cli/cli/releases/tag/v2.97.0","hostname":"github.com","tags":["X Refsource MISC","REPORT"]},{"url":"https://ubuntu.com/security/CVE-2026-64654","label":"ubuntu.com/security/CVE-2026-64654","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-64654","label":"www.cve.org/CVERecord?id=CVE-2026-64654","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-64654","label":"security-tracker.debian.org/tracker/CVE-2026-64654","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64654","label":"nvd.nist.gov/vuln/detail/CVE-2026-64654","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:11530-1","OPENSUSE-SU-2026:21663-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:11530-1","OPENSUSE-SU-2026:21663-1"]},"timeline":[{"kind":"published","date":"2026-08-06T18:27:38.491Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-07T17:09:40.307Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:15:37.591Z","stale":false,"partial":false}}