Skip to content
skopnix

CVE-2026-42271 · Published 8 May 2026

BerriAI LiteLLM

On CISA's KEV list 31 days after disclosure; 3 public exploits.

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.

CISA required action (federal due date 22 Jun 2026): Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Signals

KEV, exploited in the wild
yes, added 8 Jun 2026, due 22 Jun 2026
EPSS, 30-day forecast
91%, 100th percentile (as of 18 Nov 2026)
CVSS, NVD
not stated
Internet exposure
not stated

KEV is an observation, EPSS a forecast; KEV outranks it. No score published by NVD.

Timeline 8 May 2026 to today

19 days from the first proof of concept to the KEV listing
Disclosed 8 May 2026First PoC 20 May 2026KEV 8 Jun 2026Metasploit 19 Jun 2026today
  1. Disclosed
  2. First PoC+12 d
  3. KEV+19 d
  4. Metasploit+11 d

19 days from the first proof of concept to the KEV listing

Indicators none tied yet

No threat feed has tied an indicator to this CVE yet. Checked every six hours.

On the wire 2 dispatches

  1. [KEV] CVE-2026-42271: BerriAI LiteLLM Command Injection Vulnerability · KEV
  2. [KEV] CVE-2026-48710: Kludex Starlette HTTP Request/Response Smuggling Vulnerability · KEV

Public exploit code 3 known · links only

GitHub PoCs 2Metasploit 1Exploit-DB 0

GitHub PoCs, by trust then stars2

  1. The code for personally reproducing the corresponding vulnerability

    created 20 May 2026

  2. HORKimhab/CVE-2026-42271Trust ok 1000 stars

    CVE-2026-42271 - Draft

    created 9 Jun 2026

Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.

Metasploit1

  1. This module exploits CVE-2026-42271, a command execution vulnerability in the BerriAI LiteLLM proxy. The MCP "test" REST endpoints (POST /mcp-rest/test/connection and POST /mcp-rest/test/tools/list), used by the admin UI to preview an MCP server before saving it, accept a full server configuration in the request body. When the supplied transport is "stdio", LiteLLM builds an MCP client that spawns the provided command with its args as a

    ruby · first seen by skopnix 18 Oct 2026

Nuclei detection templates1

  1. A critical unauthenticated remote code execution vulnerability exists in LiteLLM due to improper input handling in the MCP stdio test endpoint. An attacker can send a specially crafted request to the `/mcp-rest/test/connection` endpoint with controlled parameters, resulting in arbitrary command execution on the server. When combined with an authentication bypass technique—such as the Starlette BadHost flaw (CVE-2026-48710)—an unauthenticated attacker can exploit the chain to execute commands as

    yaml · first seen by skopnix 18 Oct 2026

A Nuclei template is a scanner check that detects the flaw. It is not an exploit and is not counted as one.

References

Watch this one?

KEV additions reach Telegram and the KEV-only RSS as they land.

Telegram ↗KEV RSSAPIStack check