Live threats

All CVEs / cli

CVE-2026-64652cli

Low 3.3

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for cli.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

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.