Vulnerability DatabaseCVE-2026-136535

CVE-2026-136535: 
Chainguard vulnerability analysis and mitigation

Overview

CVE-2026-136535 is an OS command injection vulnerability in LiteLLM that enables authenticated remote attackers to execute arbitrary code on affected installations. The flaw exists within the handling of MCP (Model Context Protocol) stdio configurations, where user-supplied input is passed to a system call without proper validation. It was reported to the vendor on June 17, 2026, and publicly disclosed by the Zero Day Initiative on November 18, 2026 (tracked as ZDI-CAN-31815), with the GitHub advisory published on November 24, 2026. The confirmed affected version is LiteLLM 1.88.0, and the vulnerability carries a CVSS v3.0 base score of 7.2 (High) (ZDI Advisory, GitHub Advisory).

Technical details

The vulnerability is classified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command). The root cause is the absence of proper sanitization of user-supplied strings in LiteLLM's MCP stdio configuration handling before those strings are passed to a system call, enabling classic OS command injection. Exploitation requires network access and high-privilege (admin-level) authentication, but no user interaction is needed. The vendor initially closed the report as a false positive, then acknowledged an incomplete fix before ultimately disputing the vulnerability classification — leading ZDI to publish it as a zero-day advisory (ZDI Advisory).

Impact

Successful exploitation allows an authenticated attacker with administrative privileges to execute arbitrary OS commands in the context of the LiteLLM service account, resulting in high confidentiality, integrity, and availability impact. This could lead to full system compromise of the host running LiteLLM, unauthorized access to sensitive data processed by the LLM proxy (including API keys and model responses), and potential lateral movement within the network environment (ZDI Advisory, GitHub Advisory).

Exploitability

As of the time of disclosure, there is no public proof-of-concept exploit and no confirmed in-the-wild exploitation (Feedly). The EPSS score is 0.0, reflecting a currently low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires high-privilege (admin) authentication, which limits the attack surface, though compromised admin credentials or insider threats could lower this barrier. The vulnerability was discovered by David Fiser and Alfredo Oliveira of TrendAI Research (ZDI Advisory).

Exploitation steps

  1. Reconnaissance: Identify internet-accessible LiteLLM instances running version 1.88.0, using network scanning tools or service fingerprinting. Confirm the presence of the MCP stdio configuration feature.
  2. Authentication: Obtain or compromise high-privilege (admin) credentials for the LiteLLM instance. This may involve credential stuffing, phishing, or exploiting weak/default master keys (e.g., the default sk-1234).
  3. Craft malicious MCP stdio configuration: Prepare a payload that injects OS command delimiters (e.g., ;, &&, |) into a user-supplied string field within the MCP stdio server configuration, such as the command or argument fields.
  4. Submit the payload: Send the crafted configuration via the LiteLLM API or admin interface to trigger the vulnerable system call handler.
  5. Achieve code execution: The injected command executes in the context of the LiteLLM service account, enabling reverse shell establishment, credential harvesting, or further lateral movement (ZDI Advisory).

Indicators of compromise

  • Network: Unexpected outbound connections from the LiteLLM host to external IPs, particularly on non-standard ports; unusual DNS lookups originating from the service process.
  • Logs: LiteLLM API logs showing admin-level requests to MCP stdio configuration endpoints with anomalous or encoded command strings; repeated failed or unusual system call invocations in application logs.
  • Process: Unexpected child processes spawned by the LiteLLM service (e.g., /bin/sh, bash, curl, wget, python) that are not part of normal operation.
  • File System: New or modified files in the LiteLLM working directory or temp directories, including web shells, scripts, or unauthorized SSH keys added to the service account's home directory.
  • Configuration: Presence of LITELLM_ENABLE_MCP_STDIO=true in environment variables on instances that should not have stdio MCP servers enabled; use of default or weak master keys such as sk-1234.

Mitigation and workarounds

The vendor recommends upgrading to LiteLLM v1.104.0 or later, which disables stdio MCP servers by default unless the environment variable LITELLM_ENABLE_MCP_STDIO=true is explicitly set (this flag cannot be set via API, config file, or database). Administrators should replace any default or example master keys (e.g., sk-1234) with strong random values; v1.104.0+ blocks startup if the master key is unset, empty, or set to the default. As an additional hardening measure, restrict access to LiteLLM admin endpoints to only trusted administrators and implement network segmentation to limit exposure of LiteLLM services. A patch is also referenced in the GitHub advisory GHSA-r292-cv88-8fr7 (ZDI Advisory, GitHub Advisory).

Community reactions

The disclosure process was notably contentious: ZDI reported the vulnerability in June 2026, but the vendor initially closed it as a false positive in September 2026. After ZDI disputed the closure and the vendor reopened the report, the vendor ultimately disputed the vulnerability classification again in November 2026, leading ZDI to publish it as a zero-day advisory on November 18, 2026. The vendor's position is that stdio MCP servers are an admin-only feature and thus not a security boundary, while ZDI maintained that insufficient input validation constitutes a genuine vulnerability (ZDI Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

RHEL / CentOS

Unknown

Source: This report was generated using AI

Related Chainguard vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-136535HIGH7.2
  • Chainguard logoChainguard
  • cpe:2.3:a:litellm:litellm
NoYesNov 24, 2026
CVE-2026-136538MEDIUM6.5
  • Chainguard logoChainguard
  • cpe:2.3:a:litellm:litellm
NoYesNov 24, 2026
CVE-2026-136537MEDIUM6.5
  • Chainguard logoChainguard
  • litellm
NoYesNov 24, 2026
CVE-2026-136536MEDIUM6.4
  • Chainguard logoChainguard
  • cpe:2.3:a:litellm:litellm
NoYesNov 24, 2026
CVE-2026-136540MEDIUM5.3
  • Chainguard logoChainguard
  • litellm
NoYesNov 24, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management