Sploitus

CVE-2026-42271

3 known exploits for CVE-2026-42271

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.

Affected products
Litellm
Litellm
< 1.83.7
Fix
Available
CVSS 3.1
8.8 HIGH
EPSS
83.0% (100th percentile)
Weakness
CWE-78, CWE-77
NVD status
Analyzed
Published
2026-05-08
CVE-2026-42271 at NVD
Authoritative description, scoring and affected products

3 known exploits for CVE-2026-42271

Proof-of-concept code and exploit modules indexed by Sploitus