CVE-2026-107204
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.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/107xxx/CVE-2026-107204.json, https://nvd.nist.gov/vuln/detail/CVE-2026-107204, https://www.vulncheck.com/advisories/lmcache-through-0.5.5-unauthenticated-rce-via-run-script-endpoint, https://github.com/LMCache/LMCache/issues/5510, https://github.com/LMCache/LMCache, https://github.com/LMCache/LMCache/blob/v0.5.5/lmcache/v1/internalapiserver/common/runscriptapi.py#L54-L76, https://github.com/LMCache/LMCache/blob/v0.5.5/lmcache/v1/multiprocess/httpapis/commonapi.py#L41-L46