Vulnerability · Published Jun 6, 2024 · Assigned by @huntr_ai
CVE-2024-4325Server-Side Request Forgery (SSRF) in gradio-app/gradio
High 8.6
In plain English
A high-severity server-side request forgery in gradio-app/gradio from gradio-app. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 37.1% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | gradio | no fix listed | GHSA-973g-55hp-3frw |
| PyPI | gradio | no fix listed | PYSEC-2026-1413 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| gradio-app | gradio-app/gradio | unspecified – through latest |
Weakness: CWE-918 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N