The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-28416

CVE-2026-28416: Gradio SSRF Vulnerability in gr.load()

CVE-2026-28416 is a Server-Side Request Forgery flaw in Gradio that lets attackers make arbitrary HTTP requests from victim servers via malicious Spaces. This article covers technical details, affected versions, and mitigation.

Published: March 6, 2026

CVE-2026-28416 Overview

CVE-2026-28416 is a Server-Side Request Forgery (SSRF) vulnerability affecting Gradio, an open-source Python package designed for quick prototyping of machine learning applications. The vulnerability exists in versions prior to 6.6.0 and allows attackers to make arbitrary HTTP requests from a victim's server by hosting a malicious Gradio Space.

When a victim application uses the gr.load() function to load an attacker-controlled Space, the malicious proxy_url from the configuration is implicitly trusted and added to the allowlist. This enables attackers to access internal services, cloud metadata endpoints, and private networks through the victim's infrastructure.

Critical Impact

Attackers can leverage this SSRF vulnerability to access cloud metadata endpoints (such as AWS IMDSv1), internal services, and private network resources, potentially leading to credential theft, lateral movement, and data exfiltration.

Affected Products

  • Gradio versions prior to 6.6.0
  • Applications using gr.load() to load external Gradio Spaces
  • Python environments running vulnerable Gradio installations

Discovery Timeline

  • 2026-02-27 - CVE-2026-28416 published to NVD
  • 2026-03-05 - Last updated in NVD database

Technical Details for CVE-2026-28416

Vulnerability Analysis

This vulnerability (CWE-918: Server-Side Request Forgery) occurs due to improper validation of the proxy_url configuration parameter when loading external Gradio Spaces. The gr.load() function is designed to dynamically load Gradio interfaces from remote sources, including Hugging Face Spaces. However, the implementation fails to properly validate and sanitize the proxy_url value received from the remote Space's configuration.

When a malicious Space is loaded, the attacker-controlled proxy_url is automatically added to the application's allowlist without verification. This bypasses security controls and allows the attacker to instruct the victim's server to make HTTP requests to arbitrary destinations.

Root Cause

The root cause lies in the implicit trust placed on configuration data received from external Gradio Spaces. The gr.load() function accepts the proxy_url parameter from untrusted sources and adds it to the application's allowlist without proper validation. This design flaw assumes that all Gradio Spaces are benign, which creates an exploitation vector for attackers who can host malicious Spaces.

Attack Vector

The attack is network-based and requires no authentication or user interaction. An attacker hosts a malicious Gradio Space containing a crafted proxy_url in its configuration. When a victim application calls gr.load() to load this Space, the malicious URL is trusted and added to the allowlist.

The attacker can then leverage this to:

  1. Access cloud metadata endpoints (e.g., http://169.254.169.254/latest/meta-data/) to steal IAM credentials
  2. Probe and access internal services on private networks
  3. Enumerate internal infrastructure and services
  4. Bypass firewall rules and network segmentation controls

The vulnerability manifests in the Space loading mechanism where the proxy_url configuration is processed. When a victim loads an attacker-controlled Space using gr.load(), the malicious proxy URL is accepted without validation. This allows the attacker to instruct the victim's server to make requests to internal endpoints or cloud metadata services. See the GitHub Security Advisory for technical details.

Detection Methods for CVE-2026-28416

Indicators of Compromise

  • Unexpected outbound HTTP requests from Gradio applications to internal IP ranges (e.g., 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16)
  • HTTP requests targeting cloud metadata endpoints such as 169.254.169.254
  • Unusual gr.load() calls loading Spaces from untrusted or unknown sources
  • Anomalous network traffic patterns from applications hosting Gradio interfaces

Detection Strategies

  • Monitor network traffic for outbound requests to cloud metadata endpoints (169.254.169.254) and internal IP ranges
  • Implement egress filtering and logging to detect SSRF attempts from Gradio applications
  • Audit application code for gr.load() calls that load external or user-controlled Spaces
  • Use runtime application security monitoring to detect unexpected HTTP requests originating from Gradio components

Monitoring Recommendations

  • Enable detailed logging for all outbound HTTP requests from Gradio applications
  • Configure network monitoring to alert on connections to internal services from web-facing applications
  • Implement cloud provider metadata service protections (e.g., IMDSv2 on AWS) to limit credential exposure
  • Deploy web application firewalls (WAF) with SSRF detection rules for Gradio endpoints

How to Mitigate CVE-2026-28416

Immediate Actions Required

  • Upgrade Gradio to version 6.6.0 or later immediately
  • Audit all gr.load() calls in your application to ensure only trusted Spaces are loaded
  • Implement network segmentation to limit the blast radius of potential SSRF attacks
  • Enable IMDSv2 or equivalent metadata service hardening on cloud instances running Gradio applications
  • Review logs for any suspicious outbound requests that may indicate prior exploitation

Patch Information

The vulnerability has been fixed in Gradio version 6.6.0. The fix addresses the improper trust of proxy_url configurations from external Spaces. Users should upgrade to this version or later to remediate the vulnerability. For additional details, refer to the GitHub Security Advisory GHSA-jmh7-g254-2cq9.

Workarounds

  • Avoid using gr.load() to load external or untrusted Gradio Spaces until the patch is applied
  • Implement strict network egress controls to block access to internal networks and metadata endpoints from Gradio applications
  • Use a reverse proxy or firewall to restrict outbound connections from Gradio to known-good destinations only
  • If cloud-based, enable metadata service endpoint restrictions (IMDSv2, GCP metadata concealment) to reduce credential theft risk
bash
# Upgrade Gradio to patched version
pip install --upgrade gradio>=6.6.0

# Verify installed version
pip show gradio | grep Version

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

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechGradio

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-918
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-27167: Gradio Information Disclosure Vulnerability

  • CVE-2026-28414: Gradio Path Traversal Vulnerability

  • CVE-2026-28415: Gradio OAuth CSRF Vulnerability

  • CVE-2025-23042: Gradio Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now 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