Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconVictim runs gh attestation/release verify
-
DeliveryCLI fetches TUF metadata from third-party host
-
Exploitauth layer misattributes host, attaches token
-
Installtoken sent in Authorization header
-
C2attacker observes host logs or intercepts traffic
-
Executecaptures bearer token
-
Impactreuses token for private repo/org/enterprise access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation is limited to environments where the victim has run one of exactly three commands - gh attestation (any subcommand), gh release verify, or gh release verify-asset - on gh <= 2.92.0 while authenticated; these are the only code paths that fetch from the mis-attributed hosts. github.com-token leakage occurs to tuf-repo.github.com for any authenticated github.com user; enterprise-token leakage to tuf-repo-cdn.sigstore.dev and tmaproduction.blob.core.windows.net occurs only when GH_ENTERPRISE_TOKEN or GITHUB_ENTERPRISE_TOKEN is set. Beyond the victim running the command, an attacker cannot trigger the leak remotely and gains nothing unless positioned to observe traffic to or logs on those third-party hosts (host operator access or man-in-the-middle over TLS). These limiting factors - required victim action, restriction to three commands, and the need for a privileged network/host position to capture the token - substantially constrain realistic risk despite the AV:N/AC:L/PR:N/UI:N CVSS vector. |
| Impact | Signals conflict sharply. The vendor CVSS of 9.1 (AV:N/AC:L/PR:N/UI:N, C:H/I:H) reflects the sensitivity of a leaked GitHub token, but the real-world exploitability signals are low: EPSS is 0.04% (12th percentile), CISA SSVC records Exploitation: none and Automatable: no (though Technical Impact: total), and there is no KEV listing and no public exploit. Critically, the CVSS vector's AC:L/PR:N/UI:N does not capture the actual attack model - this is a passive credential disclosure, not a directly attacker-triggerable RCE. To benefit, an attacker must occupy a privileged position (control of, or log/traffic access to, the third-party recipient hosts, or a man-in-the-middle over TLS) AND the victim must have run the specific attestation/verify commands. GitHub explicitly states there is no evidence tokens were logged, retained, or accessed by unauthorized parties. Net: the potential impact is severe (full token compromise), but the probability of exploitation is low and opportunistic/targeted rather than widespread - treat as a priority credential-hygiene item (rotate tokens, upgrade) rather than an actively-exploited emergency. |
| Exploit ScenarioDerived | A developer on gh 2.92.0 runs gh attestation verify in CI; the CLI attaches their github.com PAT to the TUF metadata fetch to tuf-repo.github.com and their enterprise token to fetches from tuf-repo-cdn.sigstore.dev and Azure Blob Storage. An operator with access to request logs or TLS-terminating infrastructure at any of those non-GitHub-controlled endpoints, or an attacker positioned to intercept the traffic, harvests the bearer token from the Authorization header and reuses it to reach private repos, org resources, or enterprise administration. No public exploit is known and there is no evidence this has occurred. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Jul 21, 2026
Credential exposure in GitHub CLI (gh) versions prior to 2.93.0 causes the authenticated HTTP client to attach the user's github.com or enterprise token to requests bound for third-party TUF mirrors and CDN hosts during gh attestation, gh release verify, and gh release verify-asset operations. Flawed host normalization collapses tuf-repo.github.com (a GitHub Pages site, not an API endpoint) to github.com and falls back to the enterprise token for unrecognized hosts such as tuf-repo-cdn.sigstore.dev and tmaproduction.blob.core.windows.net. Rated CVSS 9.1 by the vendor, but EPSS is only 0.04% (12th percentile) with no public exploit identified at time of analysis and CISA SSVC marking exploitation as none.
Earlier versions of this analysis (1)
Token leakage in GitHub CLI versions through 2.92.0 causes authentication tokens to be transmitted to unintended hosts when users run gh attestation, gh release verify, or gh release verify-asset commands. The flawed host normalization collapses *.github.com subdomains to github.com, leaking github.com tokens to tuf-repo.github.com (a GitHub Pages domain), while GH_ENTERPRISE_TOKEN values leak to external hosts tuf-repo-cdn.sigstore.dev and tmaproduction.blob.core.windows.net. No public exploit identified at time of analysis, and the vendor (GitHub) reports no evidence that tokens were captured or misused.
RemediationAI
Vendor-released patch: upgrade gh to 2.93.0 or later, which corrects the host-detection logic so tokens are no longer attached to TUF mirror requests (advisory: https://github.com/cli/cli/security/advisories/GHSA-8xvp-7hj6-mcj9). Because tokens may already have been transmitted, also revoke and rotate any credentials used with the CLI: personal access tokens and the GitHub CLI OAuth authorization, plus any GH_ENTERPRISE_TOKEN/GITHUB_ENTERPRISE_TOKEN values. Then review personal security logs and enterprise audit logs for anomalous actions tied to those tokens. Until upgrade is possible, the practical compensating control is to avoid running gh attestation, gh release verify, and gh release verify-asset (the only affected commands) - note this disables local artifact/attestation verification, so verification should be performed on a patched host instead. Unsetting the enterprise token variables before running those commands limits enterprise-token exposure but breaks enterprise authentication for the session.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
GitHub CLI is a widely deployed Go-based command-line tool (package pkg:go/github.com/cli/cli/v2) for interacting with GitHub. The attestation and release-verification subcommands implement Sigstore/TUF (The Update Framework) trust workflows, fetching signed TUF metadata and artifact bundles from external hosts (tuf-repo.github.com, tuf-repo-cdn.sigstore.dev, and Azure Blob Storage at tmaproduction.blob.core.windows.net). These fetches reuse the same shared, authenticated HTTP client the CLI uses for the GitHub API. The root cause maps to CWE-863 (Incorrect Authorization): the auth layer's host-detection logic wildcards any *.github.com subdomain to github.com and defaults unknown hosts to GH_ENTERPRISE_TOKEN, so bearer tokens are attributed to and transmitted to hosts that should never receive them. TUF mirrors are designed to serve public signing metadata and require no authentication, so the token adds no function and only creates exposure.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
Sources disagree (Medium–Critical)AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Passive token disclosure requires the victim to run specific commands (UI:R) and the attacker to observe traffic/logs on third-party hosts (AC:H); a captured full-scope token yields C:H and downstream I:H, no availability impact.
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today treats the vendor’s rating as authoritative. A higher third-party CVSS (e.g. CISA-ADP) is shown for transparency but does not drive the headline severity.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionNVD
Summary
GitHub CLI incorrectly includes an authorization header in API requests to TUF repository mirrors via gh attestation, gh release verify, and gh release verify-asset commands.
Affected users:
- Authenticated
github.comusers who previously rangh attestationcommands,gh release verify, orgh release verify-asset: thegithub.comtoken was included in requests totuf-repo.github.com, a GitHub Pages domain that is not a GitHub API endpoint. All authentication types are affected. - Users with
GH_ENTERPRISE_TOKENorGITHUB_ENTERPRISE_TOKENset who previously rangh attestationcommands,gh release verify, orgh release verify-asset: the enterprise token was included in requests to external hoststuf-repo-cdn.sigstore.devandtmaproduction.blob.core.windows.net. These hosts are not operated by GitHub.
Details
The CLI uses a shared HTTP client with an authentication layer that automatically attaches tokens to outgoing requests. This layer lacks accurate host detection and can incorrectly attribute the target host, providing it with a token it should never receive.
Specifically, the host normalization logic collapses any *.github.com subdomain to github.com, so a request to tuf-repo.github.com (a GitHub Pages site, not a GitHub API endpoint) is treated as a request to github.com and receives the user's github.com token. For hosts that don't match github.com or a known GHES instance at all, the resolver falls back to GH_ENTERPRISE_TOKEN if set.
The gh attestation, gh release verify and gh release verify-asset commands fetch data from several external hosts as part of their normal operation (TUF metadata from tuf-repo.github.com and tuf-repo-cdn.sigstore.dev, artifact bundles from Azure Blob Storage). Because these requests go through the same authenticated HTTP client, the token is sent to all of them.
Impact
Tokens were transmitted in HTTP headers to the listed hosts during normal gh attestation, gh release verify, and gh release verify-asset operations. There is no evidence that tokens were logged, retained, or accessed by unauthorized parties. If a token were captured, it would grant the same access as the token holder, potentially including private repositories, organization resources, or enterprise administration depending on token type and permissions.
Remediation and mitigation
- Revoke authentication tokens used with the GitHub CLI:
- Upgrade
ghto2.93.0. - Review personal security logs and any relevant audit logs for actions associated with personal or enterprise accounts.
Executive ViewAI
GitHub CLI (gh) versions before 2.93.0 leak authentication tokens to third-party cloud hosts during attestation and release verification operations, potentially exposing repository access credentials to services outside GitHub's infrastructure. Any development team using gh for release verification workflows faces credential compromise with risk of unauthorized repository access.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-33340
GHSA-8xvp-7hj6-mcj9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB