News · LiteLLM (BerriAI) · 2 min read
Event date: · Published:
LiteLLM patches command injection flaw in its MCP stdio server configuration
LiteLLM fixed a high-severity OS command injection vulnerability in its MCP stdio server handling that let authenticated users run arbitrary commands in the service account context.
LiteLLM (BerriAI) disclosed a high-severity OS command injection vulnerability in how it handles MCP stdio server configuration, announced on November 24, 2026 in LiteLLM MCP stdio command injection. The flaw let authenticated users run arbitrary commands in the service account context.
Details of the vulnerability
CVE-2026-136535/GHSA-r292-cv88-8fr7was published on November 24, 2026.- Severity was rated High, with a CVSS v3 score of
7.2. - It is classified as
CWE-78, OS Command Injection. - The flaw is in how LiteLLM handles MCP stdio server configuration: special characters were not neutralized before being passed to a shell.
- Exploitation requires network access and authentication, but no user interaction.
- The advisory cross-references the Zero Day Initiative advisory
ZDI-26-1031(originallyZDI-CAN-31815).
What it means for people who build with AI
LiteLLM is one of the most widely deployed self-hosted LLM proxy and gateway libraries, so an authenticated remote code execution flaw in its MCP integration is a direct supply-chain risk for any team wiring MCP servers behind it. Since exploitation only requires network access and valid credentials, not user interaction, teams that expose LiteLLM instances to multiple authenticated users should prioritize applying the fix.
Sources
- LiteLLM MCP stdio command injection (GitHub Security Advisories, November 24, 2026, official)
Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.