CVE-2026-107204: Vulnerability in LMCache
Critical. 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.
CWE-306
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-306
- Published
- 7 Oct 2026
- Last change
- 8 Oct 2026
Affected products
Affected versions and the first fixed release
- LMCache Through 0.5.5. No fixed version recorded
Advisories
Vendor and security advisories
- github.com/LMCache/LMCache
- github.com/LMCache/LMCache/blob/v0.5.5/lmcache/v1/internal_api_server/common/run_script...
- github.com/LMCache/LMCache/blob/v0.5.5/lmcache/v1/multiprocess/http_apis/common_api.py
- github.com/LMCache/LMCache/issues/5510
- vulncheck.com/advisories/lmcache-through-0.5.5-unauthenticated-rce-via-run-script-endpoint
Related
- LMCache vulnerabilities Recent advisories, watch this product