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

- Priority: **Routine**
- Reason: Not severe (CVSS 3.3, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-06 · Modified: 2026-08-07
- Aliases: UBUNTU-CVE-2026-64652, DEBIAN-CVE-2026-64652, GHSA-cg6r-mpgc-h9mm, GO-2026-6766
- Record: https://cvemate.com/vulnerability/CVE-2026-64652 · JSON: https://cvemate.com/vulnerability/CVE-2026-64652/json

## Description

```text
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.
```

## Signals

- CVSS: 3.3 low (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.118%, percentile 1.847%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- cli cli: \< 2.97.0
- debian gh (Debian): All versions (No fix recorded)
- ubuntu gh (Ubuntu): All versions (No fix recorded)
- github.com/cli cli (Go): All versions (No fix recorded)
- github.com/cli/cli v2 (Go): \< 2.97.0

## References

- <https://github.com/cli/cli/security/advisories/GHSA-cg6r-mpgc-h9mm>
- <https://github.com/cli/cli/commit/3f6a16a9f8c7fe9676aa8d8f47b399310dd231c3>
- <https://github.com/cli/cli/releases/tag/v2.97.0>
- <https://ubuntu.com/security/CVE-2026-64652>
- <https://www.cve.org/CVERecord?id=CVE-2026-64652>
- <https://security-tracker.debian.org/tracker/CVE-2026-64652>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-64652>
- <https://github.com/cli/cli>

---

Data as of 2026-12-05T08:03:34.679Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
