CVE-2026-42271

Confirmed PUBLISHED

LiteLLM: Authenticated command execution via MCP stdio test endpoints

BerriAI · litellm
Exploited in the wild PoC available

Recommended Action

Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.

Confidence
Confirmed
Exploitation Status
Exploited in the wild
Observed in Sensors
No
Attempts (30d)
Unique Attacker IPs
CISA KEV
In CISA KEV
CVSS / EPSS
8.7 High EPSS 80.2%

At a Glance

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.

cisa nuclei_scanner
CVE Published
May 08, 2026
Exploitation Reported
Jun 08, 2026
CVSS
8.7 High
EPSS
80.2%
Remote Low complexity No user interaction

Affected Versions

Vendor Product Version Status
Red Hat
Red Hat OpenShift AI 2.25

rhoai/odh-llama-stack-core-rhel9

1781826406 to < *

Unaffected
Red Hat
Red Hat OpenShift AI 3.3

rhoai/odh-llama-stack-core-rhel9

1782310008 to < *

Unaffected
Red Hat
Red Hat OpenShift AI 3.4

rhoai/odh-trustyai-garak-lls-provider-dsp-rhel9

1781622627 to < *

Unaffected
Red Hat
Exploit Intelligence

exploit-intelligence-tech-preview/vulnerability-analysis-rhel9

All versions (default: unaffected)

Unaffected
Red Hat
Red Hat Ansible Automation Platform 2

ansible-automation-platform-26/lightspeed-chatbot-rhel9

All versions (default: unaffected)

Unaffected
Red Hat
Red Hat Ansible Automation Platform 2

ansible-automation-platform-27/lightspeed-chatbot-rhel9

All versions (default: unaffected)

Unaffected
Red Hat
Red Hat OpenShift AI (RHOAI)

rhoai/odh-mlflow-rhel9

All versions (default: unaffected)

Unaffected
BerriAI
litellm

>= 1.74.2, < 1.83.7

Affected

CVE References

Recommended Actions

  • Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
  • Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
  • Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.