What’s Vulnerable › Vulnerabilities
CVE-2024-4325: Server-Side Request Forgery (SSRF) in gradio-app/gradio
- Severity: high (CVSS 8.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 37.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-06-06 · updated 2026-06-17
- Weakness: CWE-918
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 products
- gradio-app gradio: before 4.41.0 — fixed in 4.41.0
How to fix
Upgrade to a fixed version: gradio-app gradio 4.41.0. Check the vendor advisory for mitigations.
References
- https://huntr.com/bounties/b34f084b-7d14-4f00-bc10-048a3a5aaf88
- https://huntr.com/bounties/b34f084b-7d14-4f00-bc10-048a3a5aaf88
Get alerted when CVE-2024-4325 or the next vulnerability affects your stack