CVE catalog

CVE-2026-48501

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 v

[CVE catalog]

Severity
High · CVSS 7.4
Published
Source
[NVD] · [CVE record]
EPSS
0.29% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianghsid2.46.0-4vulnerable
Debianghtrixie2.46.0-3vulnerable
Debianghbookworm2.23.0+dfsg1-1vulnerable
Cpegolang-github-cli-go-ghNot reportedNot reportedvulnerable
CpecliNot reported2.93.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianghsourcesid(unfixed)not yet assignedNot reportedNot reported
Debianghsourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianghsourcebookworm(unfixed)not yet assignedNot reportedNot reported
CpeclicpeNot reported2.93.0Not reportedNot reportedNot reported

Notes

[trixie] gh: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [gh]Affected
    Details (2)
    • 2.23.0+dfsg1-1 · amd64 · bookworm

      Affected

      nvd · gh · debian · bookworm; nvd · gh · debian · 12

    • 2.23.0+dfsg1-1 · arm64 · bookworm

      Affected

      nvd · gh · debian · bookworm; nvd · gh · debian · 12

  • Source package: [golang-github-cli-go-gh]

    Details (2)
    • 1.0.0-1 · all · bookworm

      Affected

      nvd · golang-github-cli-go-gh · debian · bookworm

    • 1.0.0-1 · all · bookworm

      Affected

      nvd · golang-github-cli-go-gh · debian · bookworm

[Debian 13 (Trixie)]

  • [gh]Affected
    Details (2)
    • 2.46.0-3 · amd64 · trixie

      Affected

      nvd · gh · debian · 13

    • 2.46.0-3 · arm64 · trixie

      Affected

      nvd · gh · debian · 13

Observed:

References