CVE-2026-107204 LMCache · LMCache
9.8 Critical
AI summary
LMCache through 0.5.5 exposes an unauthenticated /run_script endpoint whose import guard can be bypassed, letting remote attackers run OS commands as the LMCache process. Critical (CVSS 9.8); restrict access to the endpoint.
Official 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 16:17 UTC
- Modified
- 2026-10-08 21:07 UTC
- CVSS
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - EPSS
- 1.03% (percentile 63)
- ENISA EUVD
- EUVD-2026-94383
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: total
- CWE
- CWE-306
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- none
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- github.com
https://github.com/LMCache/LMCache - github.com
https://github.com/LMCache/LMCache/blob/v0.5.5/lmcache/v1/internal_api_server/common/run_script_api.py#L54-L76 - github.com
https://github.com/LMCache/LMCache/blob/v0.5.5/lmcache/v1/multiprocess/http_apis/common_api.py#L41-L46 - github.com
https://github.com/LMCache/LMCache/issues/5510 - www.vulncheck.com
https://www.vulncheck.com/advisories/lmcache-through-0.5.5-unauthenticated-rce-via-run-script-endpoint