cve.bz

CVE-2026-48501 github cli: Incorrect Authorization

9.1 criticalEPSS 0.3%Fix available

Critical (9.1) in github cli. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/cli/cli/v2 2.93.0.

On this page
GitHub CLI (gh) is GitHub’s official command line tool. Prior to 2.93.0, GitHub CLI incorrectly includes authorization header in API requests to TUF repository mirrors via gh attestation, gh release verify, and gh release verify-asset commands. 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. This vulnerability is fixed in 2.93.0.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
EPSS
0.3% (unchanged from 0.3% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 22nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-05-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-48501 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-48501?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-48501?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-48501 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
github:clibefore 2.93.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8xvp-7hj6-mcj9Gogithub.com/cli/cli/v2<2.93.02.93.0
GO-2026-5271Gogithub.com/cli/cliall versionsno fix published
GO-2026-5271Gogithub.com/cli/cli/v2<2.93.02.93.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13ghno fix listedDEBIAN-CVE-2026-48501
openSUSELeap 16.0govulncheck-vulndb0.0.20260723T184607-160000.1.1openSUSE-SU-2026:21483-1

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A Moderate information disclosure flaw in GitHub CLI affects Red Hat products that use the tool, including OpenShift GitOps and OpenStack Platform. When commands like `gh attestation` or `gh release verify` are executed, the CLI incorrectly sends authentication tokens to external, untrusted hosts. This can lead to the unauthorized exposure of sensitive user credentials. This is rated as Moderate (CVSS 6.8) because the host normalization flaw is triggered only through specific `gh` CLI commands (`gh attestation`, `gh release verify`).

Red Hat's mitigation

To mitigate this issue, avoid using the `gh attestation`, `gh release verify`, and `gh release verify-asset` commands with the GitHub CLI in environments where sensitive GitHub authentication tokens are configured. Recommended to update to patched version.

ProductPackageStateAdvisory
Red Hat OpenShift GitOpsopenshift-gitops-1/argocd-rhel8Fix deferred
Red Hat OpenShift GitOpsopenshift-gitops-1/argocd-rhel9Fix deferred
Red Hat OpenStack Platform 18.0rhoso-operators/openstack-operator-bundleFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-48501.

References

Check your stackJSON