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.
Published: 2026-10-07
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

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.

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

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 yet.

History

Wed, 07 Oct 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Lmcache
Lmcache lmcache
Vendors & Products Lmcache
Lmcache lmcache

Wed, 07 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 07 Oct 2026 15:45:00 +0000

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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-07T17:09:21.989Z

Reserved: 2026-10-07T14:31:44.218Z

Link: CVE-2026-107204

cve-icon Vulnrichment

Updated: 2026-10-07T17:09:12.623Z

cve-icon NVD

Status : Deferred

Published: 2026-10-07T16:17:45.113

Modified: 2026-10-08T21:07:19.997

Link: CVE-2026-107204

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T18:30:14Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function