CVE-2024-47167: Gradio - Server-Side Request Forgery
- Cve: CVE-2024-47167
- Name: Gradio - Server-Side Request Forgery
- Description: Gradio is an open-source Python package designed for quick prototyping. This vulnerability relates to **Server-Side Request Forgery (SSRF)** in the `/queue/join` endpoint. Gradio’s `async_save_url_to_cache` function allows attackers to force the Gradio server to send HTTP requests to user-controlled URLs. This could enable attackers to target internal servers or services within a local network and possibly exfiltrate data or cause unwanted internal requests. Additionally, the content from these URLs is stored locally, making it easier for attackers to upload potentially malicious files to the server. This impacts users deploying Gradio servers that use components like the Video component which involve URL fetching. Users are advised to upgrade to `gradio>=5` to address this issue. As a workaround, users can disable or heavily restrict URL-based inputs in their Gradio applications to trusted domains only. Additionally, implementing stricter URL validation (such as allowinglist-based validation) and ensuring that local or internal network addresses cannot be requested via the `/queue/join` endpoint can help mitigate the risk of SSRF attacks.
- Impact: Attackers can perform internal network scans, exfiltrate data, or upload malicious files to the server by exploiting SSRF vulnerability.
- Remediation: Upgrade to gradio>=5 and implement URL validation and restrictions to trusted domains.
- Vulnerability type: server_side_request_forgery
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00476
- Epss percentile: 0.4168
- Assignee: [email protected]
- Published at: 2024-10-10T22:15:11Z
- Age in days: 775
- Modified at: 2026-06-17T07:56:39Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-47167
- Nvd status: analyzed
- Checked, none or zero: nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-918 | Server-Side Request Forgery |
Known exploited entries
| List | Added date | Due date | Ransomware use |
|---|---|---|---|
| vulncheck | 2026-10-27 | — | no |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/alexan011/CVE-2024-47167-Environment-Setup | poc-in-github | 2025-11-12 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/gradio-app/gradio/security/advisories/GHSA-576c-3j53-r9jj | nvd | Third Party Advisory |
| https://previdian.com/CVE-2024-47167 | vulncheck | Vulncheck Reported Exploitation |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| gradio_project:gradio | < 5.0.0 | no | nvd | /v1/products/gradio_project/gradio |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| gradio-app/gradio | package, security_advisory | yes | /v1/repositories/gradio-app/gradio |
Index
- Repositories: 475
- Repositories high signal: 283
- Packages: 1
Exploitation
- Known exploited by: vulncheck
- Vulncheck known exploited since: 2026-10-27
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-11-12
- Remote: yes
- Exposed hosts: 2932
- Checked, none or zero: known exploited, exploitation seen, initial access, authentication required
- Not known: known exploited since, nuclei template, initial access since, hackerone reports