{"cve":"CVE-2026-64652","nvd":{"published":"2026-08-06T22:18:13.087","modified":"2026-09-10T20:36:14.340","status":"Awaiting Analysis","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":3.3},"cwes":["CWE-201"],"references":["https://github.com/cli/cli/commit/3f6a16a9f8c7fe9676aa8d8f47b399310dd231c3","https://github.com/cli/cli/releases/tag/v2.97.0","https://github.com/cli/cli/security/advisories/GHSA-cg6r-mpgc-h9mm"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:47:10.050265369+00:00"},"epss":{"cve":"CVE-2026-64652","score":0.00155,"percentile":0.04632,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-cg6r-mpgc-h9mm","url":"https://osv.dev/vulnerability/GHSA-cg6r-mpgc-h9mm","summary":"GitHub CLI partially discloses authentication tokens in `gh auth status` output","modified":"2026-10-19T21:41:21.449388177Z","packages":[{"ecosystem":"Go","name":"github.com/cli/cli/v2","purl":"pkg:golang/github.com/cli/cli/v2","ranges":["<2.97.0"],"fixed":["2.97.0"]}]},{"id":"GO-2026-6766","url":"https://osv.dev/vulnerability/GO-2026-6766","summary":"GitHub CLI partially discloses authentication tokens in `gh auth status` output in github.com/cli/cli","modified":"2026-10-19T21:31:37.813588835Z","packages":[{"ecosystem":"Go","name":"github.com/cli/cli","purl":"pkg:golang/github.com/cli/cli","ranges":["all versions"],"fixed":[]},{"ecosystem":"Go","name":"github.com/cli/cli/v2","purl":"pkg:golang/github.com/cli/cli/v2","ranges":["<2.97.0"],"fixed":["2.97.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}