Security mailing lists by PureSourceCode

CVE-2026-64652

LOW 3.3CVSS 3.1

GitHub CLI partially discloses authentication tokens in `gh auth status` output

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.

Published
6 Aug 2026
Last modified
19 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Awaiting Analysis
Weakness
CWE-201
Also known as
GHSA-cg6r-mpgc-h9mmGO-2026-6766
Sources
NVDJSONOSV GHSA-cg6r-mpgc-h9mmJSONOSV GO-2026-6766JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 LOW 3.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go github.com/cli/cli/v2 < 2.97.0 2.97.0
OSV Go github.com/cli/cli all versions

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 6 Aug 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Oct 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 15 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.