Check out the latest research from IONIX: NEW! State of the WAF Report

New CVE Detected

CVE-2026-107204 – Unauthenticated Remote Code Execution – LMCache ≤ 0.5.5

Be the first to know when new zero-days emerge:

Summary

CVE-2026-107204 is a critical unauthenticated remote code execution vulnerability in LMCache, an open-source KV-cache acceleration layer used with LLM inference engines such as vLLM. The flaw resides in the /run_script endpoint of LMCache’s internal API server, which lets remote, unauthenticated attackers submit Python scripts that escape the server’s sandboxing and execute arbitrary operating system commands. The issue affects all LMCache releases through 0.5.5 and carries a CVSS v3.1 base score of 9.8 (Critical), with no official patch currently available.

Technical details

  • Root cause: The /run_script endpoint executes attacker-supplied Python code inside a restricted "sandbox" that limits built-in functions and guards the __import__ call. However, the sandbox’s global namespace includes the live FastAPI app object. By walking object attributes (e.g., app.__init__.__globals__['__builtins__']), an attacker can recover the real, unrestricted Python builtins.
  • Trigger conditions: The internal/admin API server must be enabled and reachable — it binds to 0.0.0.0 by default in vulnerable versions, exposing the endpoint on the network without any authentication requirement.
  • Attack vector: An unauthenticated remote attacker sends an HTTP POST request to /run_script containing a crafted Python script that reconstructs the real builtins object, imports os, and runs arbitrary OS commands as the LMCache process user.
  • Impact: Full compromise of confidentiality, integrity, and availability of the host running LMCache — arbitrary code execution, data theft (including cached model KV data), and potential lateral movement within the hosting environment.

Affected software

  • LMCache (PyPI package lmcache), all versions through 0.5.5
  • Vulnerable code paths:
    • lmcache/v1/internal_api_server/common/run_script_api.py
    • lmcache/v1/multiprocess/http_apis/common_api.py

Severity

  • CVSS v3.1 Base Score: 9.8 (Critical)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • (A CVSS v4.0 score of 9.3, Critical, is also recorded for this CVE.)
  • CWE-306: Missing Authentication for Critical Function

Mitigation and recommended actions

  • Immediate: As of publication, no patched LMCache release fully resolves this sandbox-escape issue. Organizations should track the official LMCache repository and apply a fixed version as soon as one is released.
  • Workarounds / network mitigations (until a patch is available):
    • Disable the internal/admin API server (including the run_script feature) wherever it is not strictly required.
    • Restrict network exposure of the LMCache admin/internal API port — bind it to localhost only, or block external access via firewall/security group rules so it is never reachable from untrusted networks.
    • Place any required access to the internal API server behind strong network-layer authentication (e.g., VPN, mutual TLS, or an authenticating reverse proxy), since the endpoint itself performs no authentication.
    • Monitor LMCache server logs and network traffic for unexpected POST /run_script requests.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge