Amenazas en vivo

Todas las CVE / Gradio Project

CVE-2024-1561Gradio Project Gradio

Alta 7.5 Sin autenticación

Prioridad
61
CVSS 3.0
7.5
EPSS
9.2%
probabilidad de explotación en 30 días · percentil 96
Requiere autenticación
No
Publicada
16 abr 2024
Actualizada
17 jun 2026
Categoría
Aplicación · Multiplataforma
Debilidad (CWE)
CWE-29
SSVC (CISA)
Explotación: prueba de concepto · Automatizable: sí · Impacto técnico: parcial
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Qué pasa

An issue was discovered in gradio-app/gradio, where the `/component_server` endpoint improperly allows the invocation of any method on a `Component` class with attacker-controlled arguments. Specifically, by exploiting the `move_resource_to_block_cache()` method of the `Block` class, an attacker can copy any file on the filesystem to a temporary directory and subsequently retrieve it. This vulnerability enables unauthorized local file read access, posing a significant risk especially when the application is exposed to the internet via `launch(share=True)`, thereby allowing remote attackers to read files on the host machine. Furthermore, gradio apps hosted on `huggingface.co` are also affected, potentially leading to the exposure of sensitive information such as API keys and credentials stored in environment variables.

Texto original de NVD, en inglés. La traducción y el resumen en español llegan pronto.

Qué hacer

  1. Aplica la actualización de seguridad del fabricante para Gradio.
  2. Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.

Paquetes afectados

EcosistemaPaqueteVersiones afectadasCorregida enCómo actualizar
PyPI gradio < 4.13.0 4.13.0 pip install "gradio>=4.13.0"
PyPI gradio < 4.13.0 4.13.0 pip install "gradio>=4.13.0"

Según OSV / GitHub Advisories (GHSA-g9cj-cfpp-4g2x, PYSEC-2026-1415). Verifica la versión en tu lockfile antes de actualizar.

Productos afectados (CPE)

FabricanteProductoVersiones
gradio_projectgradio≥ 4.12.0 < 4.13.0

Fuentes oficiales

Referencias

Enlaces publicados por las fuentes. Ábrelos con criterio.