{"schemaVersion":3,"id":"CVE-2026-64652","aliases":["UBUNTU-CVE-2026-64652","DEBIAN-CVE-2026-64652","GHSA-cg6r-mpgc-h9mm","GO-2026-6766"],"status":"published","duplicateOf":null,"title":null,"description":"GitHub CLI (gh) is GitHub's official command line tool. Prior to version 2.97.0, gh auth status masked only the characters after the last underscore in certain fine-grained personal access tokens and GitHub App tokens. As a result, part of an affected token could appear in terminal or CI output that is captured or shared. Authenticated users are affected if they ran gh auth status (without the --show-token flag) with a token type whose format contains an underscore after the prefix. This includes fine-grained personal access tokens (github_pat_*) and GitHub App installation and user access tokens (ghs_*, ghu_*; for example, ghs_<APPID>_<JWT>), as well as the Actions GITHUB_TOKEN. Classic tokens such as gho_* and ghp_* have an underscore-free body and are not affected. This issue is fixed in version 2.97.0.","dates":{"published":"2026-08-06T17:45:35.729Z","modified":"2026-08-07T17:45:03.284Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.3,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":4.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":4.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":3.3,"severity":"low","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","exploitability":4.6,"impact":2.3,"computed":true}]},"epss":{"probability":0.00155,"percentile":0.04305,"severity":"low","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0.03799999999999999,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.00117},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00155,"percentile":0.04305}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00117,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00155,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00155,"percentile":0.04305}]},"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-201","name":"Insertion of Sensitive Information Into Sent Data","description":"The code transmits data to another actor, but a portion of the data includes sensitive information that should not be accessible to that actor.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/201.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-cg6r-mpgc-h9mm","label":"github.com/cli/cli/security/advisories/GHSA-cg6r-mpgc-h9mm","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB","Advisory"]},{"url":"https://github.com/cli/cli/commit/3f6a16a9f8c7fe9676aa8d8f47b399310dd231c3","label":"github.com/cli/cli/commit/3f6a16a9f8c7fe9676aa8d8f47b399310dd231c3","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-64652","label":"ubuntu.com/security/CVE-2026-64652","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-64652","label":"www.cve.org/CVERecord?id=CVE-2026-64652","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-64652","label":"security-tracker.debian.org/tracker/CVE-2026-64652","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64652","label":"nvd.nist.gov/vuln/detail/CVE-2026-64652","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:45:35.729Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-08-07T17:45:03.284Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":13,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T18:27:13.862Z","stale":false,"partial":false}}