1-minute read of a 4 min report

CISA Confirms Exploitation of LiteLLM MCP Preview Command Injection

By

1-minute read

What a defender needs to know

CISA added CVE-2026-42271 to its Known Exploited Vulnerabilities catalog on June 8. The agency has not identified the attackers, affected organizations or payloads.

LiteLLM versions 1.74.2 through 1.83.6 allowed any authenticated proxy-key holder to submit command, args and env values to two MCP preview endpoints. The connection test then spawned the supplied command on the proxy host with the privileges of the LiteLLM process. A low-privilege internal-user key was sufficient because the endpoints did not check the user’s role.

Version 1.83.7 restricts both endpoints to PROXY_ADMIN. Upgrade to that release or later. If an immediate upgrade is impossible, block POST /mcp-rest/test/connection and POST /mcp-rest/test/tools/list at every route into the proxy.

Review proxy and application logs for those paths, then correlate requests with child processes, file changes and outbound connections from LiteLLM. Determine which secrets, volumes, service accounts and network routes the process could access. If exploitation is found, or the evidence is incomplete, rebuild the host or container and rotate the credentials within that scope.

The public record confirms exploitation but does not describe the attacks. Keep local findings separate from assumptions about stolen provider keys or malware.

Primary sources