Paper/Archive/CVE-2026-107204

CVE-2026-107204

LMCache LMCache — LMCache through 0.5.5 Unauthenticated RCE via /run_script Endpoint

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
LMCache≤ 0.5.5–CNA

Scores by source

VulnCheck (CNA)9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
VulnCheck (CNA)9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

exploitgithub.com/LMCache/LMCache/issues/5510refgithub.com/LMCache/LMCachewriteupgithub.com/LMCache/LMCache/blob/v0.5.5/lmcache/v1/internal_api_server/common/run_script_api.py#L54-L76writeupgithub.com/LMCache/LMCache/blob/v0.5.5/lmcache/v1/multiprocess/http_apis/common_api.py#L41-L46writeupvulncheck.com/advisories/lmcache-through-0.5.5-unauthenticated-rce-via-run-script-endpoint