{"schemaVersion":3,"id":"CVE-2026-64653","aliases":["UBUNTU-CVE-2026-64653","DEBIAN-CVE-2026-64653","GHSA-4fjg-2h4q-fwg3","GO-2026-6765"],"status":"published","duplicateOf":null,"title":null,"description":"GitHub CLI (gh) is GitHub’s official command line tool. Prior to 2.97.0, some HTTP request URLs interpolate variable path components without percent encoding, allowing URL path metacharacters in attacker-controlled repository or resource values to make gh address a different API endpoint or resource than the user intended. This issue is fixed in version 2.97.0.","dates":{"published":"2026-08-06T17:51:54.344Z","modified":"2026-08-07T14:54:13.120Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.1,"severity":"medium","version":"4.0","versionLabel":"v4.0","source":"CVE.org","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/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.1,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/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.1,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/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.1,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/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.1,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/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},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":2.1,"severity":"low","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N","exploitability":null,"impact":null,"computed":true}]},"epss":{"probability":0.00511,"percentile":0.42385,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.00511},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00511,"percentile":0.42385}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00527,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00511,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00511,"percentile":0.42385}]},"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-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.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},{"vendor":"github.com/cli","product":"cli","name":"github.com/cli/cli","label":"cli","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/cli/cli","purlType":"golang","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/cli/cli","product":"v2","name":"github.com/cli/cli/v2","label":"v2","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/cli/cli/v2","purlType":"golang","versions":[{"text":"< 2.97.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.97.0","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/cli/cli/security/advisories/GHSA-4fjg-2h4q-fwg3","label":"github.com/cli/cli/security/advisories/GHSA-4fjg-2h4q-fwg3","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB","Advisory"]},{"url":"https://github.com/cli/cli/commit/0c2eea6338a2323cfff000160b9b5a56a38d2a06","label":"github.com/cli/cli/commit/0c2eea6338a2323cfff000160b9b5a56a38d2a06","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB","FIX"]},{"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","WEB"]},{"url":"https://ubuntu.com/security/CVE-2026-64653","label":"ubuntu.com/security/CVE-2026-64653","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-64653","label":"www.cve.org/CVERecord?id=CVE-2026-64653","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-64653","label":"security-tracker.debian.org/tracker/CVE-2026-64653","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64653","label":"nvd.nist.gov/vuln/detail/CVE-2026-64653","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]},{"url":"https://github.com/cli/cli","label":"github.com/cli/cli","hostname":"github.com","tags":["PACKAGE"]}],"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-06T17:51:54.344Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-07T14:54:13.120Z","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-20T07:11:16.706Z","stale":false,"partial":false}}