CVE-2026-64652cli
Low 3.3
Follow: this CVE · cli · cli We alert you by email or Slack (account required).
- Priority
- 20
- CVSS 3.1
- 3.3
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 6, 2026
- Updated
- Sep 10, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-201
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for cli.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/cli/cli |
all |
no fixed version | — |
| Go | github.com/cli/cli/v2 |
< 2.97.0 |
2.97.0 |
go get github.com/cli/cli/v2@v2.97.0 |
| Go | github.com/cli/cli/v2 |
< 2.97.0 |
2.97.0 |
go get github.com/cli/cli/v2@v2.97.0 |
Per OSV / GitHub Advisories (GO-2026-6766, GHSA-cg6r-mpgc-h9mm). Check the version in your lockfile before upgrading.
Affected products
- cli · cli
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:24730-1 · Nov 12, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:22336-1 · Nov 12, 2026 Critical
- Security update for gh · SUSE · openSUSE-SU-2026:21663-1 · Aug 26, 2026 Critical
Also: SUSE (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.