CVE-2026-28416
SSRF Vulnerability in Gradio Allows Internal Network Access
Publication date: 2026-02-27
Last updated on: 2026-03-05
Assigner: GitHub, Inc.
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| gradio_project | gradio | to 6.6.0 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-918 | The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a Server-Side Request Forgery (SSRF) issue in the Gradio Python package before version 6.6.0. It allows an attacker to make arbitrary HTTP requests from a victim's server by hosting a malicious Gradio Space. When the victim application uses the function `gr.load()` to load this attacker-controlled Space, the malicious proxy URL from the configuration is trusted and added to an allowlist. This enables the attacker to access internal services, cloud metadata endpoints, and private networks through the victim's infrastructure.
How can this vulnerability impact me? :
The vulnerability can have serious impacts including unauthorized access to internal services and sensitive data within the victim's network. An attacker can exploit this flaw to reach cloud metadata endpoints and private networks, potentially leading to information disclosure or further attacks within the victim's infrastructure.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, upgrade Gradio to version 6.6.0 or later, where the SSRF issue has been fixed.