Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-95468.json
JSON Data
https://api.osv.dev/v1/vulns/AZL-95468
Upstream
Published
2026-08-06T22:18:13Z
Modified
2026-09-10T14:16:46Z
Summary
CVE-2026-64652 affecting package gh for versions less than 2.97.0-1
Details

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_), 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.

References

Affected packages

Azure Linux:3 / gh

Package

Name
gh
Purl
pkg:rpm/azure-linux/gh

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.97.0-1

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-95468.json"