sadrobot

← Back to the monthly list

CVE-2026-42271 BerriAI · litellm

8.8 HighKEVEU

Official description

LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. From version 1.74.2 to before version 1.83.7, two endpoints used to preview an MCP server before saving it — POST /mcp-rest/test/connection and POST /mcp-rest/test/tools/list — accepted a full server configuration in the request body, including the command, args, and env fields used by the stdio transport. When called with a stdio configuration, the endpoints attempted to connect, which spawned the supplied command as a subprocess on the proxy host with the privileges of the proxy process. The endpoints were gated only by a valid proxy API key, with no role check. Any authenticated user — including holders of low-privilege internal-user keys — could therefore run arbitrary commands on the host. This issue has been patched in version 1.83.7.

Published
2026-05-08 04:16 UTC
Modified
2026-10-26 20:10 UTC
CVSS
8.8 High CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
7.31% (percentile 95)
CISA KEV
added: 2026-06-08 · due date (US federal agencies): 2026-06-22
BerriAI LiteLLM Command Injection Vulnerability
ENISA EUVD
EUVD-2026-28507 · exploited: 2026-06-08
CISA SSVC
Exploitation: active · Automatable: no · Technical impact: total
CWE
CWE-77
Category
Edge device (VPN, firewall, router)

CVSS vector

Attack vector
network
Attack complexity
low
Privileges required
low
User interaction
none
Scope
unchanged
Confidentiality
high
Integrity
high
Availability
high

Where it was mentioned

References