Skip to content

CVE-2026-42271

BerriAI LiteLLM Command Injection

8.7 HIGHActively exploited (CISA KEV)EPSS 94.5%
  1. Published8 May 2026
  2. Added to CISA KEV8 Jun 2026
  3. Remediation due22 Jun 2026
8.7CVSS 4.0 scoreHIGH
Exploit probability (EPSS)94.5%
100th percentile of all scored CVEs
Actively exploited (CISA KEV)

BerriAI LiteLLM contains a command injection vulnerability that could allow any authenticated user, including holders of low-privilege internal-user keys, to run arbitrary commands on the host.

Added to KEV: 8 Jun 2026Federal remediation due: 22 Jun 2026
01

In short

CVE-2026-42271 (BerriAI LiteLLM Command Injection) has a CVSS 4.0 base score of 8.7, rated high. CISA added it to the Known Exploited Vulnerabilities catalog on 8 Jun 2026. Fixed in Litellm 1.83.7, Redhat Openshift Ai 2.25.8 or later. The Dutch NCSC covers it in advisory NCSC-2026-0137.

02

Description

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.

03

CVSS 4.0 breakdown

Attack vector
Network
Attack complexity
Low
Attack requirements
Present
Privileges required
Low
User interaction
None
Confidentiality (vulnerable system)
High
Integrity (vulnerable system)
High
Availability (vulnerable system)
High
Confidentiality (subsequent systems)
High
Integrity (subsequent systems)
None
Availability (subsequent systems)
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
04

Affected products

  • Litellm≥ 1.74.2 < 1.83.7
  • Redhat Openshift Ai≥ 2.25 < 2.25.8 · ≥ 3.3 < 3.3.4 · 3.4
05

Remediation

Fixed in
  • Litellm≥ 1.83.7
  • Redhat Openshift Ai≥ 2.25.8
Patch & vendor advisories

Get Patch this first every Monday

Five vulnerabilities that matter this week, ranked on real exploitation. Plain language, one email, no spam.

You can unsubscribe with one click from every issue. We handle your details as described in our privacy policy.

Data from the NVD, CISA KEV catalog and FIRST EPSS. The CVSS 4.0 base score is shown where the NVD has one, otherwise CVSS 3.1.

06:00 · IN YOUR FLEET

How Secuno handles this

Secuno matches CVE-2026-42271 against the software on every managed device each hour and ranks it by exploit status, EPSS and exposure. Because it is on the CISA KEV list, its fix goes straight to the Emergency patch lane.