CVE-2026-136535
LiteLLM MCP Command Injection Remote Code Execution Vulnerability
- Severity
- high CVSS 7.2 (v3.0)
- Affects
- LiteLLM
- Weakness
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
- Published
- 24 November 2026 by zdi
LiteLLM MCP Command Injection Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of LiteLLM. Authentication is required to exploit this vulnerability.
The specific flaw exists within the handling of MCP stdio configurations. The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-31815.
Our coverage
We have not written about this one. Know why it matters? Send a tip.