CVE-2026-107204 Details
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.
A remote code execution vulnerability has been identified in LMCache versions through 0.5.5. This vulnerability allows remote attackers to execute Python code by uploading scripts to the '/run_script' endpoint. The issue arises because the FastAPI application object, which is injected into the script's execution environment, can be used to bypass restrictions on importing modules. Attackers can exploit this to import the 'os' module and execute operating system commands as the user running the LMCache process.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 7, 2026CISA-ADP
Assessed Oct 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/LMCache/LMCache/issues/5510 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/LMCache/LMCache | [email protected] | Vendor |
| https://github.com/LMCache/LMCache/blob/v0.5.5/lmcache/v1/internal_api_server/common/run_script_api.py#L54-L76 | [email protected] | Source CodeVendor |
| https://github.com/LMCache/LMCache/blob/v0.5.5/lmcache/v1/multiprocess/http_apis/common_api.py#L41-L46 | [email protected] | Source CodeVendor |
| https://github.com/LMCache/LMCache/issues/5510 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://www.vulncheck.com/advisories/lmcache-through-0.5.5-unauthenticated-rce-via-run-script-endpoint | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-306 | Missing Authentication for Critical Function | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| LMCache | <= 0.5.5 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 7, 2026 | CVE Modified | CISA-ADP |
| Oct 7, 2026 | New CVE Received | [email protected] |
Volerion