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-48545

CVE-2026-48545: Gradio Auth Bypass Vulnerability

CVE-2026-48545 is an authentication bypass flaw in Gradio that enables cookie injection and cross-Space session fixation attacks. This article covers the technical details, affected versions, impact, and mitigation.

Published: May 28, 2026

CVE-2026-48545 Overview

CVE-2026-48545 is a session fixation vulnerability in Gradio versions before 6.15.0. The flaw resides in the reverse proxy endpoint, which uses a single module-level httpx.AsyncClient shared across all users and Spaces. Because the shared client retains a global cookie jar, any attacker-controlled Hugging Face Space can return a parent-domain Set-Cookie header that the client stores and replays to other proxied Spaces. This enables cross-Space session fixation against every user of the same Gradio deployment. The issue is tracked as [CWE-384: Session Fixation] and referenced in GHSA-2mr9-9r47-px2g.

Critical Impact

Attackers controlling a single Hugging Face Space can inject cookies into requests made to any other Space sharing the proxy, enabling session fixation and account compromise across tenants.

Affected Products

  • Gradio versions prior to 6.15.0
  • Hugging Face Spaces deployments running vulnerable Gradio releases
  • Applications using Gradio's /proxy= reverse proxy endpoint

Discovery Timeline

  • 2026-05-27 - CVE-2026-48545 published to NVD
  • 2026-05-27 - Last updated in NVD database

Technical Details for CVE-2026-48545

Vulnerability Analysis

The vulnerability stems from Gradio's reverse proxy implementation in gradio/routes.py. A single httpx.AsyncClient instance was instantiated at module scope and reused for all /proxy= requests. The httpx.AsyncClient maintains an internal cookie jar by default, persisting any Set-Cookie headers returned by upstream responses. When a malicious Space responded with a cookie scoped to the parent *.hf.space domain, the shared client stored it. Subsequent proxy requests to legitimate Spaces then replayed that attacker-controlled cookie, fixing session identifiers for every user routed through the same Gradio process.

Root Cause

The root cause is improper isolation of HTTP client state across security boundaries. The shared cookie jar violated tenant isolation between Spaces. Cookies set by one upstream were trusted and forwarded to unrelated upstreams, conflating responses from different origins into one global session context.

Attack Vector

An attacker hosts a malicious Hugging Face Space that returns a Set-Cookie header with a parent-domain scope. When any user triggers a /proxy= request to that Space, the cookie enters the shared jar. The attacker then waits for victims to load other Spaces through the same Gradio reverse proxy, where the injected cookie is replayed, fixing a session the attacker controls.

python
 templates = Jinja2Templates(directory=STATIC_TEMPLATE_LIB)
 templates.env.filters["toorjson"] = toorjson
 
-client = httpx.AsyncClient(
+# Shared transport keeps the connection pool warm without sharing an
+# `httpx.AsyncClient` (and therefore a cookie jar) across `/proxy=` requests.
+# A single shared `AsyncClient` would persist `Set-Cookie` headers from one
+# proxied response and replay them on subsequent requests to any sibling
+# `*.hf.space` URL — see GHSA-2mr9-9r47-px2g.
+_proxy_transport = httpx.AsyncHTTPTransport(
     limits=httpx.Limits(
         max_connections=100,
         max_keepalive_connections=20,
     ),
-    timeout=httpx.Timeout(10.0),
 )

Source: Gradio commit feb7237. The patch replaces the shared AsyncClient with a shared AsyncHTTPTransport, preserving connection pooling while ensuring each proxy request uses an isolated cookie jar.

Detection Methods for CVE-2026-48545

Indicators of Compromise

  • Unexpected Set-Cookie headers with parent-domain scope (e.g., Domain=.hf.space) in responses proxied through /proxy=.
  • Session identifiers reused across unrelated Spaces or user contexts within the same Gradio process.
  • Outbound proxy requests carrying Cookie headers that were not initiated by the requesting client.

Detection Strategies

  • Inspect Gradio deployments to confirm version 6.15.0 or later using package inventory tools.
  • Audit reverse proxy logs for anomalous Set-Cookie responses originating from third-party Spaces.
  • Correlate session token reuse across distinct tenants in application logs to surface fixation attempts.

Monitoring Recommendations

  • Enable verbose logging on the /proxy= endpoint and forward to a centralized analytics platform.
  • Alert on outbound proxy requests that include cookies not present in the originating client request.
  • Track Gradio release versions across managed Spaces and flag instances below 6.15.0.

How to Mitigate CVE-2026-48545

Immediate Actions Required

  • Upgrade Gradio to version 6.15.0 or later across all deployments. See the Gradio 6.15.0 release.
  • Review the VulnCheck advisory and apply guidance to multi-tenant Hugging Face Space hosts.
  • Invalidate active sessions for users who interacted with untrusted Spaces while a vulnerable Gradio version was deployed.

Patch Information

The fix is delivered in Gradio 6.15.0 via pull request #13384 and commit feb7237d01f359d2ad4ee42d00344e61692b3b39. The patch removes the shared httpx.AsyncClient and uses an httpx.AsyncHTTPTransport instead, allowing connection pooling without sharing cookie state across /proxy= requests.

Workarounds

  • Disable or restrict the /proxy= endpoint until the upgrade is applied.
  • Block parent-domain cookies (Domain=.hf.space) at an upstream gateway to prevent cross-Space replay.
  • Restrict which Spaces are reachable through the reverse proxy using an allowlist of trusted upstream origins.
bash
# Upgrade Gradio to a patched release
pip install --upgrade "gradio>=6.15.0"

# Verify installed version
python -c "import gradio; print(gradio.__version__)"

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechGradio

  • SeverityHIGH

  • CVSS Score7.6

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityNone
  • CWE References
  • CWE-384
  • Technical References
  • GitHub Commit Note

  • GitHub Issue Discussion

  • GitHub Pull Request

  • GitHub Release 6.15.0

  • VulnCheck Security Advisory
  • Related CVEs
  • CVE-2025-23042: Gradio Auth Bypass Vulnerability

  • CVE-2026-8756: Bert-VITS2 Path Traversal Vulnerability

  • CVE-2026-27167: Gradio Information Disclosure Vulnerability

  • CVE-2026-28414: Gradio Path Traversal 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