CVE-2026-31236Red Hat OpenShift AI (RHOAI)
Crítica 9.8 Sin autenticación
Seguir: esta CVE · Red Hat · Red Hat OpenShift AI (RHOAI) Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 12 may 2026
- Actualizada
- 15 jul 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-94
- SSVC (CISA)
- Explotación: ninguna · Automatizable: sí · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Qué pasa
The llm CLI tool thru 0.27.1 contains a critical code injection vulnerability via its --functions command-line argument. This argument is intended to allow users to provide custom Python function definitions. However, the tool directly executes the provided code using the unsafe exec() function without any sanitization, sandboxing, or security restrictions. An attacker can exploit this by crafting a malicious llm command with arbitrary Python code in the --functions argument and using social engineering to trick a victim into running it. This leads to arbitrary code execution on the victim's system, potentially granting the attacker full control.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Red Hat OpenShift AI (RHOAI).
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | llm |
≤ 0.27.1 |
sin versión corregida | — |
| PyPI | llm |
≤ 0.27.1 |
sin versión corregida | — |
Según OSV / GitHub Advisories (GHSA-g76p-4vg5-f4qh, PYSEC-2026-400). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- Red Hat · Red Hat OpenShift AI (RHOAI)
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.