Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Network-reachable and low-complexity, but adding an MCP server config is a management action requiring authenticated access, so PR:L rather than PR:N; impact is full host RCE (C/I/A:H).
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
4DescriptionCVE.org
LiteLLM 1.18.10 contains a remote code execution vulnerability in its MCP server creation functionality. The application allows users to add MCP servers via a JSON configuration specifying arbitrary command and args values. LiteLLM executes these values on the host without validation, enabling attackers to run arbitrary operating system commands. Successful exploitation may result in remote code execution with the privileges of the LiteLLM process.
AnalysisAI
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitrary command and args values in the server-creation JSON, which LiteLLM passes to the host OS without validation, yielding remote code execution as the LiteLLM process. The flaw is part of the broader MCP-stdio supply-chain advisory disclosed by ox.security across the AI ecosystem and is documented in LiteLLM's own April 2026 advisory. No public exploit is identified in the provided data, and EPSS is low (0.32%, 24th percentile), so widespread automated exploitation is not currently indicated despite the CVSS 9.8 rating.
Technical ContextAI
LiteLLM is an open-source LLM gateway/proxy that unifies access to many model providers and supports the Model Context Protocol (MCP) for tool integration. The vulnerable feature lets an operator register an MCP server of the stdio transport type, where LiteLLM spawns a local child process defined by a user-supplied command and args array. Because those values are taken directly from the JSON configuration and executed on the host without sanitization or allow-listing, this is a classic CWE-77 (Improper Neutralization of Special Elements used in a Command) command-injection primitive: the MCP stdio launch path effectively becomes an arbitrary process-execution API. The provided CPE string (cpe:2.3:a:n/a:n/a) is a placeholder with no meaningful product/vendor data, so exact affected-product identification relies on the description naming version 1.18.10.
RemediationAI
No vendor-released fixed version is identified in the provided data, so upgrade to the latest LiteLLM release after confirming the fix in the vendor advisory (https://docs.litellm.ai/blog/mcp-stdio-command-injection-april-2026) and the GitHub repository, and do not run 1.18.10 in exposed environments. As specific compensating controls until a confirmed patch is applied: restrict who can create or edit MCP server configurations to trusted administrators only (removing this capability from general/API users eliminates the primary attack surface but disables self-service MCP onboarding); disable the stdio MCP transport or block registration of MCP servers with arbitrary command/args if your deployment does not require locally-spawned tools (trade-off: local stdio-based MCP tools stop working); run the LiteLLM process as a low-privilege, sandboxed/containerized user with no host shell access and a minimal filesystem so that any injected command has limited blast radius; and place the proxy behind authentication and network ACLs so the management/config endpoints are not reachable by untrusted clients.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
Remote code execution in the Exim mail transfer agent (versions before 4.99.3) built against certain GnuTLS configuratio
Same weakness CWE-77 – Command Injection
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-44846
GHSA-gw7c-8jfv-4mj2