Skip to main content

GitHub CLI EUVDEUVD-2026-33340

| CVE-2026-48501 CRITICAL
Incorrect Authorization (CWE-863)
2026-05-29 https://github.com/cli/cli GHSA-8xvp-7hj6-mcj9
Critical
Disputed · 9.1 NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Victim runs gh attestation/release verify
  2. Delivery
    CLI fetches TUF metadata from third-party host
  3. Exploit
    auth layer misattributes host, attaches token
  4. Install
    token sent in Authorization header
  5. C2
    attacker observes host logs or intercepts traffic
  6. Execute
    captures bearer token
  7. Impact
    reuses 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – 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)
v1 May 29, 2026 - 15:50 CVSS 7.4

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

cli < 2.93.0

Affected Packages

go github.com/cli/cli no fix
go github.com/cli/cli/v2 fix: 2.93.0
euvd cli fix: 2.93.0

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)
NVD PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 6.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
SUSE 7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Red Hat 6.8 MEDIUM

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

5
Analysis Updated
Jul 21, 2026 - 15:43 vuln.today
v2 - CVSS changed
Severity Changed
Jul 21, 2026 - 15:37 NVD
HIGH CRITICAL
CVSS changed
Jul 21, 2026 - 15:37 NVD
7.4 (HIGH) 9.1 (CRITICAL)
Patch available
May 29, 2026 - 17:02 EUVD
CVE Published
May 29, 2026 - 15:30 nvd
HIGH 7.4

DescriptionNVD

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.com users who previously ran gh attestation commands, gh release verify, or gh release verify-asset: the github.com token was included in requests to tuf-repo.github.com, a GitHub Pages domain that is not a GitHub API endpoint. All authentication types are affected.
  • Users with GH_ENTERPRISE_TOKEN or GITHUB_ENTERPRISE_TOKEN set who previously ran gh attestation commands, gh release verify, or gh release verify-asset: the enterprise token was included in requests to external hosts tuf-repo-cdn.sigstore.dev and tmaproduction.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

  1. Revoke authentication tokens used with the GitHub CLI:
  1. Upgrade gh to 2.93.0.
  2. Review personal security logs and any relevant audit logs for actions associated with personal or enterprise accounts.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 88% exploitable
Prevalence
High
official GitHub command-line tool, very widely used by developers and CI
Threat Intel
1
1 source
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA Vendor GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Vendor StatusVendor

SUSE

Severity: High

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy