Description
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.
Published: 2026-07-15
Score: 9.8 Critical
EPSS: 6.0% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

LiteLLM version 1.18.10 contains a flaw in its MCP server creation routine that accepts arbitrary command and argument values from a JSON configuration. The application executes these values on the host without any validation, allowing an attacker to run any operating system command with the privileges of the LiteLLM process. This results in full remote code execution, giving the attacker control over the underlying host.

Affected Systems

The vulnerability affects LiteLLM, automatically adding MCP servers via JSON configuration. Only the 1.18.10 release is documented as vulnerable; earlier releases are not known to contain this issue.

Risk and Exploitability

The CVSS score of 9.8 indicates critical severity. The EPSS score is 6%, suggesting that, while exploitation is not common, it is technically possible and could be achieved if an attacker gains access to the configuration interface. The vulnerability is not listed in the CISA KEV catalog, and no public exploit has been reported, but the nature of the flaw allows arbitrary command execution with no additional preconditions beyond the ability to submit a JSON configuration to LiteLLM.

Generated by OpenCVE AI on August 4, 2026 at 18:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade LiteLLM to a version in which the MCP command parameters are validated or the ability to inject commands is removed.
  • Limit the exposure of the configuration interface so that only trusted, authenticated users can add MCP servers, and apply strict network access controls.
  • Implement logging and monitoring of process execution to detect unexpected command invocation by LiteLLM.
  • Consider removing the ability to add MCP servers from untrusted environments as a temporary protective measure.

Generated by OpenCVE AI on August 4, 2026 at 18:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 17 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Title litellm: LiteLLM: Remote code execution via unvalidated MCP server configuration
Weaknesses CWE-78
References
Metrics threat_severity

None

threat_severity

Critical


Thu, 16 Jul 2026 14:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-77
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 15 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Berriai
Berriai litellm
Vendors & Products Berriai
Berriai litellm

Wed, 15 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
Description 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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-07-16T13:19:39.318Z

Reserved: 2026-03-04T00:00:00.000Z

Link: CVE-2026-30623

cve-icon Vulnrichment

Updated: 2026-07-16T13:19:31.122Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Critical

Publid Date: 2026-07-15T00:00:00Z

Links: CVE-2026-30623 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T18:45:12Z

Weaknesses
  • CWE-77

    Improper Neutralization of Special Elements used in a Command ('Command Injection')

  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')