CVE-2026-64652 Details
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.
A vulnerability in GitHub CLI prior to version 2.97.0 allows for partial disclosure of authentication tokens when the 'gh auth status' command is executed without the '--show-token' flag. This issue affects fine-grained personal access tokens and GitHub App tokens, as well as the Actions GITHUB_TOKEN. The vulnerability arises because the masking logic only obscures characters after the last underscore in the token, leaving part of the token visible in the output. This exposed information could be captured or shared, potentially leading to unauthorized access.
Users should upgrade GitHub CLI to version 2.97.0 or later. Additionally, any affected tokens that may have been exposed should be rotated. Fine-grained personal access tokens can be regenerated from GitHub account settings, while GitHub App tokens are short-lived and rotate automatically. The Actions GITHUB_TOKEN is also automatically invalidated at the end of a job, so no manual action is typically required.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-201 | Insertion of Sensitive Information Into Sent Data | [email protected] |
Affected Products
No affected product data is available for this CVE.
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 7, 2026 | CVE Modified | CISA-ADP |
| Aug 6, 2026 | New CVE Received | [email protected] |