threatdeck
Live 13:45 UTC ·

AI Stack Alert High For CISO, SOC / IR, AppSec, AI Eng AI-assisted

ZDI-26-1031: LiteLLM MCP stdio command injection allows authenticated remote code execution

Zero Day Initiative published advisory ZDI-26-1031 for LiteLLM. The flaw is in handling of MCP stdio configurations, where a user-supplied string is used in a system call without proper validation. An authenticated remote attacker can execute code in the context of the service account.

Why it matters

Organizations running LiteLLM with MCP stdio enabled expose their service account to code execution by anyone holding valid credentials. The vendor disputes that the report describes a vulnerability and says no separate patch is coming.

Do this

  1. Upgrade LiteLLM to 1.104.0 or later and leave LITELLM_ENABLE_MCP_STDIO unset so stdio MCP servers stay disabled.
  2. Replace any default or example master key with a strong random value; v1.104.0+ refuses startup if the key is unset, empty, or sk-1234.
  3. Restrict who can create or test MCP server configurations to trusted proxy administrators.
  4. Do not rely on the CVE-2026-42271 allowlist as a security control, since the vendor states it is not one and will be removed.
  5. Review existing MCP stdio server configurations in LiteLLM for unexpected host commands.

Signals

  • NoCISA KEV
  • 35/100Priority
  • 75%Confidence

Evidence

“The specific flaw exists within the handling of MCP stdio configurations.”

Zero Day Initiative: published advisories

“The issue results from the lack of proper validation of a user-supplied string before using it to execute a system call.”

Zero Day Initiative: published advisories

“From v1.104.0, stdio servers are disabled unless LITELLM_ENABLE_MCP_STDIO=true is set in env”

Zero Day Initiative: published advisories

Sources

Affected / related

LiteLLM, OS command injection, Zero Day Initiative

Published 2026-11-18 06:00 UTC · updated 2026-11-18 20:35 UTC · AI-assisted summary, checked against quoted sources · How we score

Following

Follow the vendors, products, AI tools, techniques and actors you care about. Matching stories, CVEs and exploited bugs are marked, a Following tab appears in the feed, and returning visits show what changed. Saved only in this browser.

Presets

Get updates

A personal RSS feed of new stories on everything you follow. Paste it into any feed reader, Slack or Teams RSS app.