Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed LMCache internal API server
-
DeliveryPOST Python payload to /run_script
-
ExploitRecover real builtins via FastAPI app object
-
ExecutionBypass guarded __import__ to import os
-
ImpactExecute OS commands as LMCache process
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires network reachability to LMCache's internal API HTTP server that exposes the /run_script endpoint (implemented in lmcache/v1/internal_api_server/common/run_script_api.py and routed via multiprocess/http_apis/common_api.py) in versions up to and including 0.5.5. No authentication, credentials, or user interaction are needed (CWE-306, PR:N/UI:N). The primary limiting factor is deployment exposure: the attack is only possible when the internal API server is enabled and bound to a network-accessible interface rather than restricted to localhost or a trusted management network; the endpoint's existing __import__ guard does not limit exploitation because it is bypassable via the injected app object. |
| Impact | This is a genuine high-priority issue, not an inflated-CVSS artifact. All available signals align toward real risk: the vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H, score 9.3) describes network-reachable, low-complexity, unauthenticated exploitation with high confidentiality, integrity and availability impact, and CWE-306 (Missing Authentication) is fully consistent with the description of an unauthenticated /run_script endpoint. The vulnerability class is direct arbitrary Python/OS command execution via a sandbox-escape (recovering real builtins through the injected FastAPI app object to bypass the guarded __import__), which is reliable and does not depend on memory-corruption primitives, so exploitation is deterministic rather than probabilistic. EPSS is not provided in the input, so exploitation probability cannot be quantified. KEV status is not present, so there is no confirmed active exploitation, and no POC flag was supplied - therefore no public exploit is confirmed. The main factor tempering real-world risk is exposure: LMCache is LLM-inference caching infrastructure, so impact depends on whether the internal API server is network-exposed rather than bound to localhost. SSVC-style reasoning: technical impact is Total and the flaw is likely Automatable (no auth, no user interaction, simple HTTP POST), but Exploitation is currently 'none/POC-unknown' per the provided data. |
| Exploit ScenarioDerived | An attacker who can reach the LMCache internal API server sends an HTTP POST to the /run_script endpoint containing Python code. The payload recovers real builtins through the injected FastAPI app object to bypass the guarded __import__, imports os, and runs operating-system commands as the LMCache process, yielding unauthenticated remote code execution. No public exploit code is confirmed in the provided data, but the technique is fully described in the VulnCheck advisory and the referenced source lines. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Unauthenticated remote code execution in LMCache through 0.5.5 allows network-reachable attackers to execute arbitrary Python and operating-system commands as the LMCache process by posting scripts to the /run_script endpoint; the endpoint's existing __import__ guard is bypassed via the injected FastAPI app object, which exposes real builtins (CWE-306, CVSS 9.3 v4.0 / 3.1 AV:N/AC:L/PR:N/UI:N). No public exploit code or confirmed in-the-wild activity has been identified at time of analysis, though the vulnerability details and vendor advisory are public. The primary limiting factor is deployment exposure: exploitation requires the internal API HTTP server to be enabled and bound to a network-accessible interface rather than restricted to localhost or a trusted management network.
RemediationAI
No vendor-released patch has been identified in the provided references at time of analysis; the GitHub issue https://github.com/LMCache/LMCache/issues/5510 and the VulnCheck advisory https://www.vulncheck.com/advisories/lmcache-through-0.5.5-unauthenticated-rce-via-run-script-endpoint are the tracking resources. Until an official fix for versions after 0.5.5 is available, the most effective compensating control is to disable the internal API server if it is not required, or to bind it exclusively to localhost (127.0.0.1) and place it behind network access controls so that /run_script is not reachable from untrusted networks; the trade-off is loss of remote management functionality. If remote access is unavoidable, enforce authentication and authorization at a reverse proxy in front of the service and restrict source IPs to a trusted management network, accepting that this adds an external dependency and does not fix the underlying missing authentication in LMCache itself. Monitor LMCache process activity for unexpected child processes or outbound network connections, and restrict the OS privileges of the LMCache service account to limit post-exploitation impact.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
LMCache is a Python library for KV-cache management in LLM serving pipelines; it includes an internal FastAPI-based HTTP API server whose /run_script endpoint is implemented in lmcache/v1/internal_api_server/common/run_script_api.py (lines 54-76) and routed through lmcache/v1/multiprocess/http_apis/common_api.py (lines 41-46). The endpoint is intended to accept scripts but lacks authentication (CWE-306), and its attempt to restrict imports via a guarded __import__ is ineffective because attackers can recover real builtins through the injected FastAPI app object and then import os to run arbitrary OS commands. The CPE cpe:2.3:a:lmcache:lmcache:*:*:*:*:*:*:*:* covers all versions through 0.5.5; the supplied references include the GitHub issue tracking the report (https://github.com/LMCache/LMCache/issues/5510) and a VulnCheck advisory (https://www.vulncheck.com/advisories/lmcache-through-0.5.5-unauthenticated-rce-via-run-script-endpoint).
Know when Lmcache gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Unauthenticated HTTP POST to /run_script gives direct code execution as the process, so AV:N/AC:L/PR:N/UI:N with full C/I/A; scope unchanged as impact stays within the LMCache process context.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Articles & Coverage 2
Executive ViewAI
LMCache, an open-source caching layer widely deployed alongside LLM inference stacks, contains an unauthenticated remote code execution flaw affecting all versions through 0.5.5 that allows any network-reachable attacker to run arbitrary code as the LMCache process. Because the vulnerable component sits inside AI/ML serving infrastructure, a successful compromise could yield access to model weights, prompt and response data, API credentials, and adjacent production systems. Leadership should care because no vendor patch exists yet and the only barrier to exploitation is whether teams have exposed the LMCache management API beyond localhost - a configuration choice that is often made for convenience during deployment.
No vendor-released patch identified at time of analysis. Interim mitigations: bind the LMCache internal API HTTP server to localhost or a trusted management network only; block external and cross-segment access to the API port at the firewall or service mesh; disable or deny the /run_script endpoint at the reverse proxy/ingress; run LMCache as a low-privilege, least-privilege service account in an isolated segment with no access to model weights, secrets stores, or orchestration control planes; monitor for anomalous POSTs to /run_script and unexpected subprocess execution by the LMCache process.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Remote code execution in LMCache multiprocess (distributed) mode allows unauthenticated attackers to execute arbitrary c
LMCache through 0.5.5 ships a multiprocess-mode HTTP management/internal API server that binds to all network interfaces
Remote unauthenticated attackers can disrupt and manipulate LMCache's multiprocess coordinator fleet control API in defa
Server-side request forgery in LMCache through 0.5.5 allows unauthenticated remote attackers to bypass the frontend moni
Weak hash truncation in LMCache up to 0.4.6 allows a local low-privilege attacker to induce KV cache collisions by explo
EUVD-2026-94383
GHSA-xgvf-x9rh-chj9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB