CVE-2026-64652: GitHub CLI: Partial token disclosure in `gh auth status` output

Published Aug 6, 2026
·
Updated

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 (githubpat) and GitHub App installation and user access tokens (ghs, ghu; for example, ghs<APPID><JWT>), as well as the Actions GITHUBTOKEN. 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.

Affected Software

1 affected component
GitHub GitHub CLI (gh)<2.97.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade GitHub CLI (gh) to a version that resolves this vulnerability.

    Fixed in 2.97.0

Event History

Aug 6, 2026
CVE Published
via MITRE·05:45 PM
Data Sourced
via MITRE·05:45 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:18 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-64652?

The severity of CVE-2026-64652 is rated as low with a score of 3.3.

2

How do I fix CVE-2026-64652?

To fix CVE-2026-64652, update the GitHub CLI to version 2.97.0 or later.

3

What type of vulnerability is CVE-2026-64652?

CVE-2026-64652 is a partial token disclosure vulnerability.

4

In which software is CVE-2026-64652 found?

CVE-2026-64652 is found in the GitHub CLI (gh) tool.

5

What output is affected by CVE-2026-64652?

CVE-2026-64652 affects the output of the `gh auth status` command, which may reveal part of certain tokens.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203