RCE in Berriai Litellm
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…
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.041 (88.8th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Berriai Litellm — versions >= 1.74.2, < 1.83.7
- Litellm
Weakness classification (CWE)
Public proof-of-concept exploits
References
- https://github.com/BerriAI/litellm/security/advisories/GHSA-v4p8-mg3p-g94g (x_refsource_CONFIRM, Patch, Mitigation, Vendor Advisory)
- https://github.com/BerriAI/litellm/releases/tag/v1.83.7-stable (Product, x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2026-42271?
- CVE-2026-42271 is a high-severity vulnerability in Berriai Litellm, classified under Command Injection. CVSS score: 8.8/10. Published 2026-05-08.
- How severe is CVE-2026-42271?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2026-42271 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.