Black Friday60% off BLACKFRIDAY2026
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
high·Product Based Web Vulnerabilities·Updated Jun 24, 2025

CVE-2024-4325 Scanner

CVE-2024-4325 Scanner - Server-Side-Request-Forgery (SSRF) vulnerability in Gradio

How to fix it
Est. Time~1 minutes
Scan TypeSingle Scan
Targetsdomain, subdomain, ipv4
CostFree
20
Times Used
continuous scan runs
10
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
8.6
CVSShigh
Exploitable remotely over the internet · no authentication required.
Description

A Server-Side Request Forgery (SSRF) vulnerability exists in the gradio-app/gradio version 4.21.0, specifically within the `/queue/join` endpoint and the `save_url_to_cache` function. The vulnerability arises when the `path` value, obtained from the user and expected to be a URL, is used to make an HTTP request without sufficient validation checks. This flaw allows an attacker to send crafted requests that could lead to unauthorized access to the local network or the AWS metadata endpoint, thereby compromising the security of internal servers.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
gradio-app/gradioby gradio-app
unspecified
gradioby gradio_project
0
Updated Nov 15, 2026View on NVD →
Detail

Gradio is a Python library and web application used by developers to quickly create web applications and demos for machine learning models. It's widely adopted in the AI community for sharing, testing, and interacting with models via a user-friendly interface. The platform supports integrations with various machine-learning frameworks and is used by researchers and companies to demonstrate AI capabilities publicly. Gradio provides a simplified interface for non-technical users to interact with machine learning models. The tool is often used in real-time settings, such as hackathons, conferences, and educational workshops. Overall, Gradio is known for its ease of use, flexibility, and ability to serve complex AI models to a broader audience.

A Server-Side Request Forgery (SSRF) vulnerability allows an attacker to make unauthorized requests from the server where an application is hosted. The vulnerability can be exploited if an application fetches remote resources without sufficient input validation. This can lead to sensitive information disclosure, such as internal IP addresses or metadata access. SSRF is particularly concerning because it may allow an attacker to target internal services that are not otherwise reachable from the outside. In the case of Gradio, this vulnerability exists in the `save_url_to_cache` function. Exploiting it could lead to compromise of confidential server resources and data.

The vulnerability in Gradio occurs within the `/queue/join` endpoint where the `path` parameter is processed. This parameter is expected to contain a URL and is trusted without sufficient validation. Attackers can manipulate this endpoint by passing external URLs, tricking the application into making requests to unwanted destinations. As a result, an attacker could redirect these requests to internal or otherwise sensitive resources on the network. Additionally, it's possible to target cloud provider metadata endpoints, which might lead to further exploitation or data exfiltration. This lack of adequate validation of input data sets the stage for potential misuse by malicious actors.

Exploitation of this SSRF vulnerability can have severe consequences, such as gaining unauthorized access to internal systems and data. If attackers access the AWS metadata endpoint, they could retrieve sensitive credentials or configurations that enable further attacks. Internal network scanning can also occur, revealing more about the network's internal structure and potentially opening the door to other attacks. The integrity and confidentiality of the victim's system and data can be severely compromised. This underscores the need for immediate attention to patch and secure systems vulnerable to this exploit.

REFERENCES

Solution Advice
  • Update Gradio to a version where this vulnerability is patched.
  • Implement strict input validation on all user-provided URLs to prevent SSRF attacks.
  • Configure network firewall rules to restrict unnecessary outbound traffic from the server.
  • Regularly audit and test the application and its components for vulnerabilities.
  • Ensure that internal endpoints are not accessible from the servers running public applications.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

12,000+ scanners. Free to start. No credit card required.

Browse All Tools