CVE-2026-64652
Last modified
CVE-2026-64652 is a low-severity vulnerability rated 3.3/10 on the CVSS scale. 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. EPSS estimates a 0.12% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| cli | cli | < 2.97.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-64652?
How severe is CVE-2026-64652?
How do I fix CVE-2026-64652?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-64646Next.js is a React framework for building full-stack web app…5.3
- CVE-2026-64647Next.js is a React framework for building full-stack web app…5.4
- CVE-2026-64648Next.js is a React framework for building full-stack web app…5.4
- CVE-2026-64649Next.js is a React framework for building full-stack web app…6.5
- CVE-2026-64650The `@ai-sdk/harness-opencode` tool is an HarnessV1 adapter …6.3
- CVE-2026-64651The `@ai-sdk/harness-opencode` tool connects HarnessAgent to…6.3
- CVE-2026-64653GitHub CLI (gh) is GitHub’s official command line tool. Prio…5.1
- CVE-2026-64654GitHub CLI (gh) is GitHub's official command line tool. Prio…5.3
- CVE-2026-64655GitHub CLI (gh) is GitHub’s official command line tool. Prio…2.1
- CVE-2026-64662Statamic is a Laravel and Git powered content management sys…6.5
- CVE-2026-64663Statamic is a Laravel and Git powered content management sys…6.5
- CVE-2026-64664Statamic is a Laravel and Git powered content management sys…4.3
Are you affected by CVE-2026-64652?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
