Skip to main content
Network Thinking Solutions Logo

CVE-2026-42271

LiteLLM authenticated command execution via MCP stdio tests

All CVEs
CVE-2026-42271
Known exploited · CISA KEV
Published 5/8/2026

LiteLLM authenticated command execution via MCP stdio tests

Vendor advisory
CVSS8.7High

Overview

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
5/8/2026
Last modified
10/26/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

Known exploited · CISA KEV

The source record flags evidence of exploitation in the wild. Whether a specific system is affected depends on the product, version, and advisory conditions.

Added to KEV: Not available

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
litellm
litellm
≥ 1.74.2, < 1.83.7

Verify advisory

Source
openshift ai
redhat
≥ 2.25, < 2.25.8

Verify advisory

Source
openshift ai
redhat
≥ 3.3, < 3.3.4

Verify advisory

Source
openshift ai
redhat
3.4

Verify advisory

Source
litellm
BerriAI
>= 1.74.2, < 1.83.7

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 8.7. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.