CVE-2026-107204

LMCache through 0.5.5 Unauthenticated RCE via /run_script Endpoint

Published Oct 7, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability allows an attacker to submit arbitrary Python code to the /run_script endpoint without authentication. By exploiting the exposed FastAPI app object, the attacker can bypass the guarded __import__ function, import the os module, and execute operating system commands as the LMCache process. This results in full control over the host running LMCache, compromising confidentiality, integrity, and availability of the system. The CVSS score of 9.3 reflects the severity of this risk.

Affected Systems

Vendors: LMCache; Product: LMCache; Version: v0.5.5 and all earlier releases are affected. No other versions or products are known to be impacted.

Risk and Exploitability

The vulnerability has a high CVSS score of 9.3 and no EPSS score is available, indicating insufficient data on current exploitation rates. It is listed as not being in the CISA KEV catalog. The attack is fully remote and unauthenticated, requiring only network access to the /run_script endpoint. Once reached, the attacker can run arbitrary code with the permissions of the LMCache service, making exploitation trivially effective if a public-facing instance is reachable.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade LMCache to a version newer than 0.5.5 that removes the vulnerable endpoint or mitigates the code execution path.
  • If an upgrade is delayed, disable or remove the /run_script endpoint from the production deployment, or restrict it to a trusted network via firewall or reverse proxy rules.
  • Restrict network exposure of the LMCache service by limiting inbound traffic to known administrators, thereby preventing unauthenticated remote access to the vulnerable endpoint.

Generated by OpenCVE AI on October 7, 2026 at 17:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Lmcache
Lmcache lmcache
Vendors & Products Lmcache
Lmcache lmcache
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title LMCache through 0.5.5 Unauthenticated RCE via /run_script Endpoint
Weaknesses CWE-306
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': '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'}

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 7, 2026, 5:09 PM
Reserved
Oct 7, 2026, 2:31 PM
Status
Deferred
Published
Oct 7, 2026, 4:17 PM
Modified
Oct 8, 2026, 9:07 PM