{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-64652","id":"CVE-2026-64652","title":"GitHub CLI: Partial token disclosure in `gh auth status` output","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 --s","descriptionLong":"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.","published":"2026-08-06T17:45:35.729Z","updated":"2026-11-18T17:27:27.595191491Z","reserved":"2026-07-20T17:11:30.896Z","status":"Awaiting Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub_M"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"github.com"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["cli"],"affectedProducts":[{"vendor":"cli","product":"cli","defaultStatus":null,"versions":[{"version":"< 2.97.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/cli/cli/v2","purl":"pkg:golang/github.com/cli/cli/v2","ranges":["<2.97.0"],"fixed":["2.97.0"],"advisory":"GHSA-cg6r-mpgc-h9mm"},{"ecosystem":"Go","name":"github.com/cli/cli","purl":"pkg:golang/github.com/cli/cli","ranges":["all versions"],"fixed":[],"advisory":"GO-2026-6766"}],"cwes":["CWE-201"],"aliases":["GHSA-cg6r-mpgc-h9mm","GO-2026-6766"],"references":[{"url":"https://github.com/cli/cli/security/advisories/GHSA-cg6r-mpgc-h9mm","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/cli/cli/commit/3f6a16a9f8c7fe9676aa8d8f47b399310dd231c3","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/cli/cli/releases/tag/v2.97.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64652.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64652","tags":["advisory"]},{"url":"https://github.com/cli/cli","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00155,"epssPercentile":0.04726,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-64652","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64652","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-64652","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cg6r-mpgc-h9mm","ok":true,"note":"GHSA-cg6r-mpgc-h9mm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-64652","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}