llamaCVEVulnerability Intelligence
/
Advisory · GitHub · PyPI · lmcache

GHSA-XV3R-8WJC-26Q5

Unauthenticated clients can overwrite reusable KV cache entries

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

Parche disponible
Descargar PNG JSON
CVSS
—
high
Fuente: —
ExplotaciónSin evidenciaNo figura en CISA KEV
Exploits públicos0Ninguno conocido
Parche2 versionesPrimer parche a -6 d de la divulgación
Exposición3 dDesde la divulgación, 18 nov 2026, 2:42 p. m.
Detección11 hDesde la divulgación hasta su ingreso al índice
Decisión estimadaSeguir
Remediar en la ventana regular de mantenimiento
Estimación de Llama con el árbol SSVC de CISA a partir de la severidad declarada por GHSA (alta) y la evidencia de explotación (sin evaluación oficial): sin explotación conocida, no automatizable e impacto técnico parcial. Hay versiones corregidas disponibles.
Revisa tus logs de la semana con la lupa.Puede que hoy no pase nada. Puede.
Timeline

Ciclo de vida de la vulnerabilidad

Hoy
Divulgación
Publicada
Explotación
Remediación
Parche 0.5.7.post1
Monitoreo
Detectada +1
12 nov 26
18 nov 26
19 nov 26
21 nov 26
12 nov 26
15 nov 26
17 nov 26
19 nov 26
21 nov 26
FechaFaseEventoDetalle
Remediación Parche 0.5.7.post1 lmcache · -6 d desde divulgación
Divulgación Publicada GHSA-XV3R-8WJC-26Q5 divulgada
Monitoreo Detectada Ingresó al índice
Monitoreo Verificada Última verificación contra las fuentes
Resumen
Descripción del advisory
Texto original · GitHub · en inglés
Summary

LMCache 0.5.5 in-process lmcache_server accepts cache operations without authenticating clients. A reachable client that can derive a target CacheEngineKey can overwrite KV data later reused by another request, changing model output without changing the victim prompt.

Details

The reference in-process server exposes EXIST, GET, and PUT without client authentication. CacheEngineKey contains model, world size, worker ID, token-chunk hash, and dtype, but no authenticated client identity or client-specific secret. The load path does not verify that stored KV data originated from the request associated with the key. A client that can reach the server and reconstruct a target key can therefore replace the stored KV state. The affected deployment mode is the legacy in-process mode. Resolution: upgrade to MP mode.

Proof of concept

On LMCache 0.5.5, start lmcache_server on a test-only loopback port and populate a cache entry through a normal inference request. From a separate unauthenticated process, reconstruct the CacheEngineKey from the prompt tokens and model configuration. EXIST returns true, and the same interface permits GET and PUT. Separately, replace the KV bytes stored under prompt A’s key with KV data produced for prompt B. A later request using prompt A then produces the output associated with prompt B. The reporter reproduced this with vLLM 0.28.0 and 0.30.0 using LMCacheConnectorV1.

Impact

An attacker must be able to reach lmcache_server and derive the target cache key. In deployments shared by mutually untrusted clients, the attacker can discover, retrieve, or replace a target cache entry. A later cache hit can consume attacker-supplied KV state and change the victim request’s model output. Upgrade to MP mode to remove this legacy in-process server path.

Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.

Versiones

Rangos afectados

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

Estado del parche por paquete

Paquete / productoEstadoCorregida enDesde divulgaciónÚltima versión
pypilmcache
Corregida 0.5.7.post1 -6 d 0.5.7.post1 no afectada
Versiones corregidas0.5.7.post10.5.7
Explotación

Arsenal público

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

Referencias
Advisoryhttps://github.com/LMCache/LMCache/security/advisories/GHSA-xv3r-8wjc-26q5

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