{"id":"CVE-2026-64652","published":"2026-08-06T17:45:35Z","modified":"2026-08-07T17:45:03Z","title":"GitHub CLI: Partial token disclosure in `gh auth status` output","vendor":"cli","product":"cli","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.3,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00155,"percentile":0.04751,"provenance":"source"},"cwes":[{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"}],"references":[{"url":"https://github.com/cli/cli/security/advisories/GHSA-cg6r-mpgc-h9mm","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cli/cli/commit/3f6a16a9f8c7fe9676aa8d8f47b399310dd231c3","tags":["x_refsource_MISC"]},{"url":"https://github.com/cli/cli/releases/tag/v2.97.0","tags":["x_refsource_MISC"]}],"priority":{"score":3.3,"factors":[{"name":"EPSS percentile","points":0.95},{"name":"CVSS severity","points":2.31}]},"vendorSlug":"cli","affectedVersions":[{"vendor":"cli","product":"cli","versions":["< 2.97.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-07T17:44:46.820786Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/cli/cli/v2","vulnerableRanges":["<2.97.0"],"patched":["2.97.0"],"from":["GHSA-cg6r-mpgc-h9mm","GO-2026-6766"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/cli/cli","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-6766"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-54212","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-25204","published":"2025-02-14","fixed":"2.67.0","kev":false},{"cve":"CVE-2026-45803","published":"2026-05-15","fixed":"2.92.0","kev":false},{"cve":"CVE-2026-48501","published":"2026-05-29","fixed":"2.93.0","kev":false,"link":{"from":"CVE-2026-48501","to":"CVE-2026-64652","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/cli/cli/v2","fromFixed":"2.93.0","toFixed":"2.97.0","daysApart":69}]}},{"cve":"CVE-2026-64652","published":"2026-08-06","fixed":"2.97.0","kev":false},{"cve":"CVE-2026-64653","published":"2026-08-06","fixed":"2.97.0","kev":false},{"cve":"CVE-2026-64655","published":"2026-08-06","fixed":"2.97.0","kev":false}],"package":"Go:github.com/cli/cli/v2"}}