
CVE catalog
CVE-2026-64652
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
- Severity
- Low · CVSS 3.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.15% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | gh | sid | 2.46.0-4 | vulnerable |
| Debian | gh | trixie | 2.46.0-3 | vulnerable |
| Debian | gh | bookworm | 2.23.0+dfsg1-1 | vulnerable |
| Go | github.com/cli/cli/v2 | Not reported | 2.97.0 | fixed |
| Opensuse | gh | tumbleweed | 2.97.0-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | gh | source | sid | (unfixed) | not yet assigned | Not reported | [1144403] |
| Debian | gh | source | trixie | (unfixed) | not yet assigned | Not reported | [1144403] |
| Debian | gh | source | bookworm | (unfixed) | not yet assigned | Not reported | [1144403] |
| Go | github.com/cli/cli/v2 | Go | Not reported | 2.97.0 | Not reported | GHSA-CG6R-MPGC-H9MM | Not reported |
| Opensuse | gh | rpm | tumbleweed | 2.97.0-1.1 | Not reported | OPENSUSE-SU-2026:11530-1 | Not reported |
Notes
[trixie] gh: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [gh]Affected
Details (2)
2.23.0+dfsg1-1· amd64 · bookwormAffected
nvd · gh · debian · bookworm; nvd · gh · debian · 12
2.23.0+dfsg1-1· arm64 · bookwormAffected
nvd · gh · debian · bookworm; nvd · gh · debian · 12
[Debian 13 (Trixie)]
- [gh]Affected
Details (2)
2.46.0-3· amd64 · trixieAffected
nvd · gh · debian · 13
2.46.0-3· arm64 · trixieAffected
nvd · gh · debian · 13
[openSUSE Tumbleweed]
- [gh-bash-completion]Unknown
Source package: [gh]
Details (1)
2.98.0-1.1· noarch · tumbleweedUnknown · Fixed:
2.97.0-1.1Version impact unknown
nvd · gh · opensuse · tumbleweed
- [gh-fish-completion]Unknown
Source package: [gh]
Details (1)
2.98.0-1.1· noarch · tumbleweedUnknown · Fixed:
2.97.0-1.1Version impact unknown
nvd · gh · opensuse · tumbleweed
- [gh-zsh-completion]Unknown
Source package: [gh]
Details (1)
2.98.0-1.1· noarch · tumbleweedUnknown · Fixed:
2.97.0-1.1Version impact unknown
nvd · gh · opensuse · tumbleweed
- [gh]Fixed
Source package: [gh]
Details (1)
2.98.0-1.1· x86_64 · tumbleweedFixed · Fixed:
2.97.0-1.1nvd · gh · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11530-1.json]
- [https://github.com/advisories/GHSA-cg6r-mpgc-h9mm]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-64652]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-64652]
- [https://osv.dev/vulnerability/GHSA-cg6r-mpgc-h9mm]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:11530-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-64652]
[Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]