CVE-2024-6825Litellm
Alta 8.8
Seguir: esta CVE · Litellm · Litellm Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 53
- CVSS 3.0
- 8.8
- EPSS
- 1.6% probabilidad de explotación en 30 días · percentil 76
- Requiere autenticación
- Sí
- Publicada
- 20 mar 2025
- Actualizada
- 17 jun 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-94
- SSVC (CISA)
- Explotación: prueba de concepto · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Qué pasa
BerriAI/litellm version 1.40.12 contains a vulnerability that allows remote code execution. The issue exists in the handling of the 'post_call_rules' configuration, where a callback function can be added. The provided value is split at the final '.' mark, with the last part considered the function name and the remaining part appended with the '.py' extension and imported. This allows an attacker to set a system method, such as 'os.system', as a callback, enabling the execution of arbitrary commands when a chat response is processed.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Litellm.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| PyPI | litellm |
≥ 1.40.3.dev2 ≤ 1.40.12 |
sin versión corregida | — |
| PyPI | litellm |
≥ 1.40.3.dev2 ≤ 1.40.12 |
sin versión corregida | — |
Según OSV / GitHub Advisories (GHSA-53gh-p8jc-7rg8, PYSEC-2026-1541). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| litellm | litellm | < 1.65.4 |
| litellm | litellm | 1.65.4 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com
- huntr.com Exploit Third Party Advisory