llamaCVEVulnerability Intelligence
/
LMCache

CVE-2026-107204

LMCache through 0.5.5 Unauthenticated RCE via /run_script Endpoint

Texto original en inglés · Ver en español

Solo en configuraciones específicasParche disponiblemissing authentication
Descargar PNG JSON
CVSS 4.0
9.3
Crítica
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N Fuente: CNA
ExplotaciónPoC públicaSSVC: PoC · no figura en CISA KEV
Exploits públicos0CISA-ADP reporta PoC; aún sin enlace público
Parche1 versiónPrimer parche a 8 d de la divulgación
Exposición45 dDesde la divulgación, 7 oct 2026, 10:24 a. m.
Detección15 dDesde la divulgación hasta su ingreso al índice
Decisión SSVCAtender
Priorizar en el próximo ciclo de cambios
Existe PoC pública, automatizable e impacto técnico total. Hay versiones corregidas disponibles.
No es para las 3 a. m., pero sí para esta semana.Tu firewall merece enterarse de esto.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada +2
Explotación
Remediación
Parche 0.5.6
Monitoreo
Detectada
Fuente: OSV
Verificada
7 oct 26
15 oct 26
22 oct 26
24 oct 26
19 nov 26
21 nov 26
7 oct 26
18 oct 26
30 oct 26
10 nov 26
21 nov 26
FechaFaseEventoDetalle
Divulgación Publicada CVE-2026-107204 divulgada · CVSS 9.3 (CNA)
Divulgación Evaluación SSVC CISA-ADP · explotación PoC pública
Divulgación Modificada Última actualización del registro
Remediación Parche 0.5.6 lmcache · 8 d desde divulgación
Monitoreo Detectada Ingresó al índice
Monitoreo Fuente: OSV Registro visto por primera vez en OSV
Monitoreo Verificada Última verificación contra las fuentes
Resumen

LMCache through 0.5.5 contains an unauthenticated remote code execution vulnerability that allows remote attackers to execute Python code by posting scripts to the /run_script endpoint. Attackers can recover real builtins through the injected FastAPI app object, bypassing the guarded __import__, to import os and run operating system commands as the LMCache process.

Only affects LMCache 0.5.5 and earlier when the internal API server is enabled, which is off by default. When enabled, it listens on all interfaces on port 6999 without authentication.

¿Qué significa?Attackers who can reach the server can run arbitrary code inside the LMCache server process, with that process's privileges. They do this by escaping the /run_script sandbox through the FastAPI app object.
¿Quién está afectado?Versions LMCache 0.5.5 and earlier are affected, but only when the internal API server is enabled through internal_api_server_enabled. Check the installed LMCache version and whether that setting is turned on.
¿Qué hacer?The facts do not name a fixed version or vendor patch, so no upgrade target is available from these sources. Check the LMCache advisory for an update before changing anything.
no-patchKeep internal_api_server_enabled off, since the internal API server is disabled by default. Leaving it off removes the unauthenticated port 6999 listener this issue depends on.
Contexto

Condiciones y alcance

Condiciones necesarias para que el fallo sea explotable
01
The LMCache internal API server must be enabled (internal_api_server_enabled); it is off by default.“The internal API server is opt-in”
02
When enabled, the server binds all interfaces on port 6999 with no authentication.“binds 0.0.0.0 (port start 6999) when enabled”
03
Affects LMCache 0.5.5 and earlier.“Affected: lmcache <= 0.5.5 (latest release)”
¿Quién debe revisar?Teams running LMCache 0.5.5 or earlier with the internal API server enabled, where the port is reachable from other hosts.
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:N
NingunoPresentes
PrivilegiosPR:N
NingunoBajosAltos
InteracciónUI:N
NingunaPasivaActiva
Confid. (sistema)VC:H
AltoBajoNinguno
Integridad (sistema)VI:H
AltoBajoNinguno
Disponib. (sistema)VA:H
AltoBajoNinguno
Confid. (posterior)SC:N
AltoBajoNinguno
Integridad (posterior)SI:N
AltoBajoNinguno
Disponib. (posterior)SA:N
AltoBajoNinguno
Score de explotaciónQué tan fácil y probable es que la exploten
10.0/ 10Muy alto
Vector 10.0 (muy fácil) · sin evidencia de explotación.
Versiones

Rangos afectados

Afectada Corregida Última
lmcache≤ 0.5.5
lmcache< 0.5.6
0.5.5
0.5.6
0.5.7.post1
Remediación

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypilmcache
Corregida 0.5.6 8 d 0.5.7.post1 no afectada
Versiones corregidas0.5.6
Explotación

Arsenal público

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

Referencias
Reportehttps://github.com/LMCache/LMCache/issues/5510
Otrahttps://github.com/LMCache/LMCache
Otrahttps://github.com/LMCache/LMCache/blob/v0.5.5/lmcache/v1/internal_api_server/common/run_script_api.py#L54-L76
Otrahttps://github.com/LMCache/LMCache/blob/v0.5.5/lmcache/v1/multiprocess/http_apis/common_api.py#L41-L46
Otrahttps://www.vulncheck.com/advisories/lmcache-through-0.5.5-unauthenticated-rce-via-run-script-endpoint

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