llamaCVEVulnerability Intelligence
/
LiteLLM

CVE-2026-42271

LiteLLM authenticated command execution via MCP stdio tests

Any user with a valid API key, even a low-privilege one, can run arbitrary commands on the host.

CISA KEV · explotación activaCrítica · en CISA KEV, EPSS ≥ 10 %Explotación activaParche disponible
Descargar PNG JSON
CVSS 4.0
8.7
Alta
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:N/SA:N Fuente: CNA
ExplotaciónActivaEn CISA KEV desde 8 jun 2026
Exploits públicos0Ninguno conocido
Parche1 versiónPrimer parche a -25 d de la divulgación
Exposición195 dDesde la divulgación, 7 may 2026, 10:35 p. m.
EPSS ≥ 10 %22 oct 2026Fecha en que la probabilidad de explotación superó el umbral
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Modificada
Explotación
CISA KEV
Umbral EPSS
Remediación
Parche 1.83.7
Plazo KEV
Monitoreo
Detectada
Verificada
13 abr 26
8 may 26
8 jun 26
22 jun 26
15 jul 26
22 oct 26
18 nov 26
19 nov 26
13 abr 26
7 jun 26
1 ago 26
25 sept 26
19 nov 26
FechaFaseEventoDetalle
Remediación Parche 1.83.7 litellm · -25 d desde divulgación
Divulgación Publicada CVE-2026-42271 divulgada · CVSS 8.7 (CNA)
Explotación CISA KEV Agregada al catálogo de vulnerabilidades explotadas
Remediación Plazo KEV Fecha límite de remediación para agencias federales (EE. UU.)
Divulgación Modificada Última actualización del registro
Explotación Umbral EPSS La probabilidad de explotación supera el 10 %
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Resumen generado por IA · CC-BY 4.0 · 12 nov 2026

LiteLLM, the proxy server for calling LLM APIs, lets any user with a valid proxy API key, even a low-privilege one, run arbitrary commands on the host with the proxy's privileges. An attacker can do this remotely over the network by sending a stdio server configuration to the MCP test endpoints, and the bug is listed as exploited in attacks by CISA.

Affects the LiteLLM proxy (pip package litellm) 1.74.2 up to but not including 1.83.7, where any authenticated user could run commands on the host via the MCP test endpoints. Fixed in 1.83.7.

¿Qué significa?Two MCP test endpoints, POST /mcp-rest/test/connection and POST /mcp-rest/test/tools/list, accept a stdio transport configuration with command, args and env. Any authenticated user, even with a low-privilege internal-user key, can use them to run arbitrary commands on the proxy host with the proxy process's privileges.
¿Quién está afectado?LiteLLM proxy versions from 1.74.2 up to but not including 1.83.7 are listed as affected. The version of the installed litellm pip package (for example via pip show litellm) shows which range it falls in.
¿Qué hacer?The affected range ends before 1.83.7, which is the version listed as the fix, so upgrading litellm to 1.83.7 or later is the path to take.
Descripción original del registro

LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. From version 1.74.2 to before version 1.83.7, two endpoints used to preview an MCP server before saving it — POST /mcp-rest/test/connection and POST /mcp-rest/test/tools/list — accepted a full server configuration in the request body, including the command, args, and env fields used by the stdio transport. When called with a stdio configuration, the endpoints attempted to connect, which spawned the supplied command as a subprocess on the proxy host with the privileges of the proxy process. The endpoints were gated only by a valid proxy API key, with no role check. Any authenticated user — including holders of low-privilege internal-user keys — could therefore run arbitrary commands on the host. This issue has been patched in version 1.83.7.

Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
LiteLLM proxy (pip package litellm) version 1.74.2 up to but not including 1.83.7“Affected versions >=1.74.2, <1.83.7”
02
Attacker can reach the proxy's MCP test endpoints POST /mcp-rest/test/connection or POST /mcp-rest/test/tools/list“Two endpoints used to preview an MCP server before saving it — POST /mcp-rest/test/connection and POST /mcp-rest/test/tools/list”
03
Request supplies a stdio transport configuration with command, args and env“including the command , args , and env fields used by the stdio transport”
¿Quién debe revisar?Teams running the LiteLLM proxy (AI Gateway, pip litellm) 1.74.2 to before 1.83.7 where internal users hold proxy API keys.
Vector CVSS 4.0

Desglose de métricas

Opción resaltada = valor del vector · izquierda = peor caso · CNA
Vector de ataqueAV:N
RedAdyacenteLocalFísica
ComplejidadAC:L
BajaAlta
Requisitos de ataqueAT:P
NingunoPresentes
PrivilegiosPR:L
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:H
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Versiones

Rangos afectados

Afectada Corregida Última
litellm≥ 1.74.2 < 1.83.7
1.74.2
1.83.7
1.109.1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypilitellm
Corregida 1.83.7 -25 d 1.109.1 no afectada
Versiones corregidas1.83.7
Explotación

Arsenal público

Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.

Referencias
Fabricantehttps://github.com/BerriAI/litellm/security/advisories/GHSA-v4p8-mg3p-g94g
Otrahttps://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable

Las referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.