Skip to main content

LMCache EUVDEUVD-2026-94383

| CVE-2026-107204 CRITICAL
Missing Authentication for Critical Function (CWE-306)
2026-10-07 VulnCheck GHSA-xgvf-x9rh-chj9
9.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed LMCache internal API server
  2. Delivery
    POST Python payload to /run_script
  3. Exploit
    Recover real builtins via FastAPI app object
  4. Execution
    Bypass guarded __import__ to import os
  5. Impact
    Execute 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

LMCache 0 ≤0.5.5

Affected Packages

euvd lmcache no fix

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

Vendor (VulnCheck) PRIMARY 9.3 CRITICAL
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
vuln.today AI 9.8 CRITICAL

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.8%
Top 46% exploitable
Prevalence
Low
niche LLM-inference KV-cache library, limited to self-hosted ML serving stacks
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.8%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Total

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy