CVE-2026-28416

Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing

Published Feb 27, 2026 CVSS 3.1 · 8.2 High EPSS 7.1% KEV · Not listed
Description
Gradio is an open-source Python package designed for quick prototyping. Prior to version 6.6.0, a Server-Side Request Forgery (SSRF) vulnerability in Gradio allows an attacker to make arbitrary HTTP requests from a victim's server by hosting a malicious Gradio Space. When a victim application uses `gr.load()` to load an attacker-controlled Space, the malicious `proxy_url` from the config is trusted and added to the allowlist, enabling the attacker to access internal services, cloud metadata endpoints, and private networks through the victim's infrastructure. Version 6.6.0 fixes the issue.

Analysis

AI-generated

Technical impact

Gradio, an open‑source Python framework for building user interfaces, contains an SSRF flaw in its configuration parsing. When `gr.load()` is called with a malicious Gradio Space, the Space's `proxy_url` is accepted unvalidated and appended to an allowlist. This lets an attacker make arbitrary HTTP requests from the victim’s machine, exposing internal networks, cloud metadata endpoints, and sensitive data. The vulnerability is identified as CWE‑918.

Affected Systems

The flaw exists in the Gradio package for all releases older than version 6.6.0 from the Gradio‑App project. Any deployment that imports gradio and uses `gr.load()` to ingest external Spaces runs the risk, regardless of programming language used to host the application. Versions earlier than 6.6.0 are affected; no fixed releases below that threshold are currently available.

Risk and Exploitability

With a CVSS score of 8.2 the flaw is high severity. The EPSS indicates a probability of exploitation of less than 1 %, and the vulnerability is not listed in CISA’s KEV catalogue. The likely attack vector is straightforward: an adversary hosts a malicious Gradio Space containing a harmful `proxy_url`; any victim application that loads this Space without additional validation will trigger the SSRF. Therefore, if the application automatically loads untrusted Spaces, it is prone to exploitation; alternatively, restrict the load to trusted sources to mitigate risk.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Gradio to version 6.6.0 or later to eliminate the SSRF logic.
  • Disallow or carefully control `gr.load()` for untrusted Spaces; maintain a whitelist of acceptable proxy URLs and reject any that are not explicitly permitted.
  • Enforce network isolation for the Gradio process, blocking outbound traffic to internal networks and cloud metadata endpoints via firewall or proxy rules.

Generated by OpenCVE AI on November 26, 2026 at 05:24 UTC.

Tracking

Sign in to view the affected projects.

Exploits

Explore public exploit intelligence with OpenCVE Pro.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jmh7-g254-2cq9 Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing
History
Type Values Removed Values Added
First Time appeared Gradio Project
Gradio Project gradio
CPEs cpe:2.3:a:gradio_project:gradio:*:*:*:*:*:python:*:*
Vendors & Products Gradio Project
Gradio Project gradio
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gradio-app
Gradio-app gradio
Vendors & Products Gradio-app
Gradio-app gradio
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
Description Gradio is an open-source Python package designed for quick prototyping. Prior to version 6.6.0, a Server-Side Request Forgery (SSRF) vulnerability in Gradio allows an attacker to make arbitrary HTTP requests from a victim's server by hosting a malicious Gradio Space. When a victim application uses `gr.load()` to load an attacker-controlled Space, the malicious `proxy_url` from the config is trusted and added to the allowlist, enabling the attacker to access internal services, cloud metadata endpoints, and private networks through the victim's infrastructure. Version 6.6.0 fixes the issue.
Title Gradio has SSRF via Malicious `proxy_url` Injection in `gr.load()` Config Processing
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 2, 2026, 9:59 PM
Reserved
Feb 27, 2026, 3:33 PM
Status
Analyzed
Published
Feb 27, 2026, 10:16 PM
Modified
Jun 17, 2026, 10:28 AM
Severity
Important
Public date
Feb 27, 2026, 9:47 PM