CVE-2024-2206
published high CVSS 3.0 · 7.3SSRF Vulnerability in gradio-app/gradio
Package status and fixes
Description
An SSRF vulnerability exists in the gradio-app/gradio due to insufficient validation of user-supplied URLs in the `/proxy` route. Attackers can exploit this vulnerability by manipulating the `self.replica_urls` set through the `X-Direct-Url` header in requests to the `/` and `/config` routes, allowing the addition of arbitrary URLs for proxying. This flaw enables unauthorized proxying of requests and potential access to internal endpoints within the Hugging Face space. The issue arises from the application's inadequate checking of safe URLs in the `build_proxy_request` function.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gradio-app | gradio-app/gradio | unspecified to < 4.18 (affected · custom) | @huntr_ai · cna |
| gradio_project | gradio | 0 to < 4.18 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-918 CWE-918 Server-Side Request Forgery (SSRF)
References
2Provider assertions
3@huntr_ai · cna
SSRF Vulnerability in gradio-app/gradio
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b61600c2da69db3e5d0255d277eda2f4f991118eeea66f0331dc1979ae478ede
- Ingested
- 23 Sep 2026, 08:21:43 UTC
- Source record
- Official CVE record