CVE-2026-64652
Reported by GitHub_M · Published August 6, 2026
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.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| cli | cli | < 2.97.0 |
| cli | cli | < 2.97.0, < 2.97.0 |
Timeline
- Aug 6, 2026 CVE Published
- Aug 7, 2026 EPSS Score
- Aug 7, 2026 Coalition ESS Score
- Aug 7, 2026 CVE Updated
- Aug 9, 2026 Security Advisory
- Sep 24, 2026 EPSS Score
- Oct 2, 2026 EPSS Score
References
- https://github.com/cli/cli/security/advisories/GHSA-cg6r-mpgc-h9mm x_refsource_CONFIRM
- https://github.com/cli/cli/commit/3f6a16a9f8c7fe9676aa8d8f47b399310dd231c3 x_refsource_MISC
- https://github.com/cli/cli/releases/tag/v2.97.0 x_refsource_MISC