gradio Server-Side Request Forgery vulnerability
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.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | gradio | < 4.18.0 | 4.18.0 |
Referencias
- https://nvd.nist.gov/vuln/detail/CVE-2024-2206
- https://github.com/gradio-app/gradio/commit/49d9c48537aa706bf72628e3640389470138bdc6
- https://github.com/gradio-app/gradio
- https://huntr.com/bounties/2286c1ed-b889-45d6-adda-7014ea06d98e
- https://pypi.org/project/gradio
- https://github.com/advisories/GHSA-r364-m2j9-mf4h
- Vector CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L- Debilidad (CWE)
CWE-918- Plataforma
- Python (PyPI)
- Paquete
gradio- Publicada
- 27.03.2024
- Actualizado
- 11.10.2026 15:17
Fuentes y licencias
OSV / GitHub Advisory Database - PYSEC-2026-1420 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-r364-m2j9-mf4h - CC BY 4.0
Historial de vulnerabilidades: gradio
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 51
- Primera → última
- 12.2021 07.2026
- Sin corrección
- 13
- Explotada en ataques
- 0
Distribución por gravedad
- Crítica 5
- Alta 19
- Media 22
- Baja 5
Divulgaciones por año
- 2021: 1
- 2022: 1
- 2023: 5
- 2024: 28
- 2025: 9
- 2026: 7
-
gradio Server-Side Request Forgery vulnerability esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.