GitHub CLI: Partial token disclosure in `gh auth status` output
Published Aug 6, 2026
3.3
LOWCVSS 3.1
EPSS 0.15%
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.
Affected products
-
- Version < 2.97.0StatusaffectedConstraints-
- Version
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed Aug 7, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
Aug–Oct 2026- EPSS v5
Percentile over time
- EPSS v5
Table of values (2 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 0.15% (0.00155) | 4.05th | v5 (v2026.06.15) |
| Aug 7, 2026 | 0.12% (0.00117) | 1.94th | v5 (v2026.06.15) |
References (3)
- https://github.com/cli/cli/commit/3f6a16a9f8c7fe9676aa8d8f47b399310dd231c3 x_refsource_MISC
- https://github.com/cli/cli/releases/tag/v2.97.0 x_refsource_MISC
- https://github.com/cli/cli/security/advisories/GHSA-cg6r-mpgc-h9mm x_refsource_CONFIRM
| Link | Providers | Tags |
|---|---|---|
| https://github.com/cli/cli/commit/3f6a16a9f8c7fe9676aa8d8f47b399310dd231c3 | x_refsource_MISC | |
| https://github.com/cli/cli/releases/tag/v2.97.0 | x_refsource_MISC | |
| https://github.com/cli/cli/security/advisories/GHSA-cg6r-mpgc-h9mm | x_refsource_CONFIRM |
Change history (0)
No recorded changes yet.