CVE-2026-107204
CriticalCVSS 9.8Summary
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.
Risk Assessment
Unauthenticated remote code execution allows an attacker to fully compromise the system, including data theft, malware installation, and privilege escalation. This is a critical threat to integrity and confidentiality.
Recommendation
Upgrade LMCache to a version without this vulnerability immediately. Restrict access to the /run_script endpoint to trusted users and networks only.
Other vulnerabilities in LMCache
See all- CVE-2026-107207High
LMCache through 0.5.5 contains a server-side request forgery vulnerability in its frontend monitoring service that allows unauthenticated attackers to bypass the proxy allowlist by registering arbitrary hosts. Attackers can add entries via POST /api/proxies and then use /proxy or /proxy2 to reach internal hosts, read responses, and tamper with nodes or stop the heartbeat.
- CVE-2026-107205High
LMCache through 0.5.5 contains a missing authentication vulnerability in the multiprocess coordinator that allows remote unauthenticated attackers to access its HTTP fleet control API listening on all interfaces by default. Attackers can register or deregister instances via /instances, overwrite quotas via /quota endpoints, inject events via /events, and enumerate /directory/keys to disrupt caching and disclose placement metadata.
- CVE-2026-107206Critical
LMCache through 0.5.5 contains a missing authentication vulnerability in the multiprocess mode HTTP server that allows remote unauthenticated attackers to access management endpoints listening on all interfaces by default. Attackers can read environment credentials via GET /env and configuration via GET /config, clear caches, delete cache objects, and modify tenant quotas to evict other tenants' cached data.
- CVE-2026-105192Critical
LMCache multiprocess mode opens an unauthenticated ZeroMQ ROUTER for worker registration and KV cache sharing. Messages are msgpack, and extension code 1 is passed to DeviceIPCWrapper.Deserialize, which calls pickle.loads before the handler runs. A single unauthenticated ZMQ DEALER message to the transport port (default 5555) executes code as the LMCache user. Official containers run as root. The transport binds to localhost unless --host is set for multi-node deployments.
- CVE-2026-10813Low
Vulnerability in LMCache up to 0.4.6. The hex_hash_to_int16 function in lmcache/integration/vllm/utils.py (KV Cache Handler component) uses a weak hash. Attack requires local access and high complexity. Exploit is publicly available.
Original NVD description (English source)
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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

