CVE-2026-136535: (0Day) LiteLLM MCP Command Injection Remote Code Execution Vulnerability
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.
Affected Software
Event History
Frequently Asked Questions
What level of access does an attacker need?
The attacker must be authenticated. Exploitation requires the ability to supply or modify an MCP stdio configuration containing a malicious string.
What permissions would the attacker gain through successful exploitation?
Arbitrary code executes in the context of the LiteLLM service account. The practical impact depends on that account's operating-system permissions and access to local resources, credentials, and network services.
Which deployments are exposed?
Affected LiteLLM installations that process user-controlled MCP stdio configurations are exposed. The provided information does not state whether this configuration is enabled or reachable in a default deployment.
What can be done while waiting to patch?
Restrict access to MCP stdio configuration management to highly trusted authenticated users. Avoid accepting untrusted strings in these configurations and reduce the LiteLLM service account's privileges where possible.