Skip to content
CVE PROGRAM SOURCE RECORD9.3 Critical

CVE-2026-107204

LMCache through 0.5.5 Unauthenticated RCE via /run_script Endpoint

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

LMCache LMCache

Default version status: unaffected

  • 0 to ≤ 0.5.5affected
pkg:pypi/lmcache

References