Crítica

Files on the host computer can be accessed from the Gradio interface

  • Publicada: 15.12.2021
  • Actualizado: 11.10.2026 13:19

Impact

This is a vulnerability that affects anyone who creates and publicly shares Gradio interfaces using gradio<2.4.8. Because of the way that static files were being served, someone who generated a public Gradio link and shared it with others would potentially be exposing the files on the computer that generated the link, while the link was active. An attacker would be able to view the contents of a file on the computer if they knew the exact relative filepath. We do not have any evidence that this was ever exploited, but we treated the issue seriously and immediately took steps to mitigate it (see below)

Response

  1. We worked with @haby0 to immediately patch the issue and released a new version, gradio 2.5.0, within 24 hours of the issue being brought to our attention
  2. We enabled a notification that is printed to anyone using an older version of gradio telling them to upgrade (see screenshot below)
  3. We expanded our test suite to test for this vulnerability ensuring that our patch does not get reverted in future releases of gradio

image

Patches

The problem has been patched in gradio>=2.5.0.

Software afectado

Haz clic en una tecnología para ver todas sus vulnerabilidades.

PlataformaPaqueteVersiones vulnerablesCorregida en
Python (PyPI) gradio < 2.5.0 2.5.0

Referencias

Puntuación CVSS 8.3/10
Vector CVSS
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Debilidad (CWE)
CWE-22
Plataforma
Python (PyPI)
Paquete
gradio
Publicada
15.12.2021
Actualizado
11.10.2026 13:19

Fuentes y licencias

OSV / GitHub Advisory Database - PYSEC-2021-873 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-rhq2-3vr9-6mcr - 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.

Todas (51) en el archivo
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

  1. 2021: 1
  2. 2022: 1
  3. 2023: 5
  4. 2024: 28
  5. 2025: 9
  6. 2026: 7
Gravedad:
  1. Alta · 7.5 CVE-2024-8966 <= 5.22.0 sin corrección
  2. Alta · 7.5 CVE-2024-10624 >= 4.38.0, <= 5.0.0-beta.2 sin corrección
  3. Alta · 8.2 CVE-2024-10648 >= 4.0.0, <= 5.0.0b2 sin corrección
  4. Alta · 7.5 CVE-2024-10569 >= 4.0.0, <= 5.0.0b2 sin corrección
  5. Crítica CVE-2025-23042 < 5.11.0 5.11.0
  6. Alta · 7.5 CVE-2024-47867 < 5.0.0 5.0.0
  7. Alta · 8.1 CVE-2024-1728 < 4.19.2 4.19.2
  8. Alta · 8.6 CVE-2024-4325 <= 4.36.0 sin corrección
  9. Alta · 7.5 CVE-2024-34510 < 4.20.0 4.20.0
  10. Alta · 7.5 CVE-2024-1561 < 4.13.0 4.13.0
  11. Alta · 7.3 CVE-2024-2206 < 4.18.0 4.18.0
  12. Files on the host computer can be accessed from the Gradio interface esta entrada
    Crítica · 8.3 CVE-2021-43831 < 2.5.0 2.5.0

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.

Conectar tu aplicación
Newsletter DockRay

La seguridad de tus aplicaciones en tu correo

Vulnerabilidades importantes, recomendaciones concretas y consejos prácticos para tus aplicaciones. Elige tus tecnologías y sigue lo que importa para tu proyecto.

  • Un resumen diario de nuevas vulnerabilidades, también las críticas.
  • Avisos sobre actualizaciones importantes.
  • Consejos prácticos sobre seguridad y monitorización de aplicaciones.

Déjalo vacío para recibir avisos de todas las tecnologías.

Suscripción gratuita. Date de baja con un clic en cualquier correo.