{"id":"CVE-2026-64652","revision":"677d9223187e48ea9fe330a00e41b110","records":[{"revision":"677d9223187e48ea9fe330a00e41b110","observedAt":"2026-10-25T15:18:45.851+00:00","statement":{"source":"nvd","id":"CVE-2026-64652","aliases":[],"title":"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 …","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.","state":0,"publishedAt":"2026-08-06T22:18:13.087+00:00","modifiedAt":"2026-09-10T20:36:14.34+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":3.3,"severity":"LOW"}],"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"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-64652","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Awaiting Analysis","weaknesses":["CWE-201"],"productCriteria":[],"sourceDates":{"published":"2026-08-06T22:18:13.087","lastModified":"2026-09-10T20:36:14.340"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-64652","identifiers":["CVE-2026-64652"]},"retained":false,"historicalAffected":[]}],"coverage":[]}