GitHub CLI: Partial token disclosure in `gh auth status` output
CVE-2026-64652 is fixed in 2 products on 2 platforms, first by GitHub CLI 2.97.0, released July 31, 2026. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Windows apps | |||
| GitHub CLI | 2.97.0 | GitHub CLI 2.97.0 | Jul 31, 2026 |
| Linux | |||
| gh · opensuse-leap 16.0 | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 | Aug 26, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.