CVE-2026-64652
published low CVSS 3.1 · 3.3GitHub CLI: Partial token disclosure in `gh auth status` output
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cli | — | cli< 2.97.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghaarch64 | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghppc64le | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghs390x | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghx86_64 | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gh-bash-completionnoarch | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gh-fish-completionnoarch | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gh-zsh-completionnoarch | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
Show 16 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | ghaarch64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghppc64le | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghs390x | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghx86_64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completionaarch64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completionppc64le | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completions390x | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completionx86_64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completionaarch64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completionppc64le | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completions390x | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completionx86_64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completionaarch64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completionppc64le | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completions390x | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completionx86_64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.3 / 10
- Severity
- low
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cli | cli | < 2.97.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-201 CWE-201: Insertion of Sensitive Information Into Sent Data
References
3Provider assertions
2GitHub_M · cna
GitHub CLI: Partial token disclosure in `gh auth status` output
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7e6e1433b90aa3475cd88e3f2bb7f5552a7973788e59c634e21b49f3a728546a
- Ingested
- 23 Sep 2026, 09:26:10 UTC
- Source record
- Official CVE record