A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-48501

CVE-2026-48501: GitHub CLI Auth Bypass Vulnerability

CVE-2026-48501 is an authentication bypass flaw in GitHub CLI that incorrectly sends authorization tokens to external hosts. This article covers technical details, affected versions, security impact, and mitigation.

Published: June 4, 2026

CVE-2026-48501 Overview

CVE-2026-48501 affects GitHub CLI (gh), GitHub's official command line tool, in versions prior to 2.93.0. The vulnerability stems from improper authorization [CWE-863] in the shared authenticated HTTP client. The gh attestation, gh release verify, and gh release verify-asset commands incorrectly attach the user's github.com token to requests sent to third-party hosts. Host normalization logic collapses any *.github.com subdomain to github.com, causing token leakage to TUF repository mirrors such as tuf-repo.github.com (a GitHub Pages site), tuf-repo-cdn.sigstore.dev, and Azure Blob Storage endpoints.

Critical Impact

Authentication tokens are transmitted to external hosts during artifact verification, exposing GitHub credentials to operators of TUF mirrors and CDN endpoints.

Affected Products

  • GitHub CLI (gh) versions prior to 2.93.0
  • Workflows using gh attestation commands
  • Workflows using gh release verify and gh release verify-asset commands

Discovery Timeline

  • 2026-05-29 - CVE-2026-48501 published to NVD
  • 2026-06-03 - Last updated in NVD database

Technical Details for CVE-2026-48501

Vulnerability Analysis

GitHub CLI uses a shared HTTP client with an authentication layer that automatically attaches tokens to outgoing requests. This layer lacks accurate host detection and incorrectly attributes target hosts. The host resolver collapses any subdomain matching *.github.com into github.com, treating unrelated services as authenticated API endpoints. Requests to tuf-repo.github.com, a GitHub Pages site rather than a GitHub API endpoint, receive the user's github.com token. For hosts that do not match github.com or a known GitHub Enterprise Server (GHES) instance, the resolver falls back to the GH_ENTERPRISE_TOKEN environment variable when set.

Root Cause

The vulnerability originates in the host normalization logic of the CLI's authenticated HTTP client. The resolver applies a coarse string match rather than verifying that a host is an actual GitHub API endpoint. Subdomains hosting static content, third-party mirrors, and CDN assets are treated as trusted authentication targets, violating the principle of least privilege for token transmission.

Attack Vector

A user running gh attestation, gh release verify, or gh release verify-asset triggers outbound requests to multiple external hosts. The Update Framework (TUF) metadata is fetched from tuf-repo.github.com and tuf-repo-cdn.sigstore.dev. Artifact bundles are retrieved from Azure Blob Storage. Each request passes through the same authenticated HTTP client and carries the user's GitHub token. Operators of these endpoints, or any party able to observe or intercept the traffic, can capture and reuse the leaked tokens.

No verified public exploit code is available. See the GitHub Security Advisory GHSA-8xvp-7hj6-mcj9 for technical details.

Detection Methods for CVE-2026-48501

Indicators of Compromise

  • Outbound HTTPS requests from developer workstations or CI runners to tuf-repo.github.com carrying an Authorization header.
  • Outbound requests to tuf-repo-cdn.sigstore.dev or Azure Blob Storage endpoints containing GitHub bearer tokens.
  • Use of gh attestation, gh release verify, or gh release verify-asset with gh versions earlier than 2.93.0.

Detection Strategies

  • Inventory installed gh versions across developer endpoints and CI/CD systems and flag any release earlier than 2.93.0.
  • Inspect outbound proxy or TLS-terminating gateway logs for Authorization: Bearer headers sent to non-GitHub-API hosts.
  • Audit GitHub token usage logs for tokens accessed shortly after artifact verification workflows ran on untrusted networks.

Monitoring Recommendations

  • Monitor process telemetry for invocations of gh attestation, gh release verify, and gh release verify-asset on outdated CLI versions.
  • Alert on unexpected geographic or network sources using GitHub personal access tokens after CLI verification activity.
  • Track outbound connections from CI runners to TUF and Sigstore hosts and correlate with token rotation events.

How to Mitigate CVE-2026-48501

Immediate Actions Required

  • Upgrade GitHub CLI to version 2.93.0 or later on all developer workstations, build agents, and container images.
  • Rotate any GitHub personal access tokens and GH_ENTERPRISE_TOKEN values used with vulnerable gh versions for attestation or release verification.
  • Revoke OAuth tokens issued through gh auth login on hosts that previously executed affected commands against untrusted networks.

Patch Information

The issue is fixed in GitHub CLI 2.93.0. The patched release corrects host detection so authentication headers are attached only to verified GitHub API endpoints. Refer to the GitHub Security Advisory GHSA-8xvp-7hj6-mcj9 for release notes.

Workarounds

  • Avoid running gh attestation, gh release verify, and gh release verify-asset until the CLI is upgraded.
  • Unset GH_ENTERPRISE_TOKEN in environments where it is not required to prevent fallback token attachment to unknown hosts.
  • Route gh traffic through an egress proxy that strips Authorization headers for non-GitHub API destinations.
bash
# Upgrade GitHub CLI to a patched version
# macOS (Homebrew)
brew update && brew upgrade gh

# Debian/Ubuntu
sudo apt update && sudo apt install --only-upgrade gh

# Verify installed version is 2.93.0 or later
gh --version

# Rotate tokens after upgrade
gh auth refresh
unset GH_ENTERPRISE_TOKEN

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechGithub Cli

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-863
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-45803: GitHub CLI Terminal Injection Vulnerability

  • CVE-2024-53858: GitHub CLI Token Leakage Vulnerability

  • CVE-2024-52308: GitHub CLI RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English