Actively exploited KEV catalog
CVE-2026-42271

BerriAI LiteLLM Command Injection Vulnerability

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…

CheckOps priority index
8.0/10 Patch within 24 h
Severity8.7
Probability9.1
Exploitation3/5

Severity = CVSS. Probability = EPSS (FIRST). Exploitation = public signals: KEV, EUVD, ransomware, EPSS above 10 %, no account required.

EPSS · today 91.4% higher than 99.8% of CVEs
CVSS 4.0 8.7 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/
Exploited for 148 days 08 Jun 2026
CISA due date 22 Jun 2026 for US federal agencies

Exploitation probability EPSS · FIRST

05010025 Sep05 Oct15 Oct24 Oct02 Nov
EPSS probability (%)Percentile among all CVEs

Exploitation signals 3 / 5

  • KEV catalog (CISA)08 Jun 2026
  • Exploited in EUVD (ENISA)08 Jun 2026
  • Used by ransomwareno
  • EPSS above 10 %91.4%
  • No account, over the networkno

What to do

Fix

Apply the vendor’s fix as soon as it is available.

CISA guidance: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Meanwhile

Take the service off the internet or restrict access to it, watch the logs and look for signs of compromise.

Manufacturers (CRA)

Exploited vulnerability in your product: early warning to ENISA within 24 h, then notification within 72 h (Article 14 of the Cyber Resilience Act). The CRA explained

Description ENISA EUVD

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
Affected versions
  • 1.74.2, < 1.83.7
Weaknesses (CWE)

Open source packages OSV

Affected libraries according to OSV, with fixed versions.

Timeline

  1. Published

  2. Exploitation reported (ENISA)

  3. Added to the KEV catalog

  4. CISA remediation due date

  5. EPSS peak: 92.6%

References

Other exploited vulnerabilities from the same vendor

  • CVE-2026-59822BerriAI LiteLLM Improper Authentication Vulnerability
    5.3 · Actively exploited
  • CVE-2026-42208BerriAI LiteLLM SQL Injection Vulnerability
    8.8 · Actively exploited

Are you affected?

CheckOps reads your SBOMs and scans, and alerts you as soon as one of your dependencies is exploited.

Get notified at launch

Sources: CISA KEV · ENISA EUVD · FIRST EPSS · OSV. Public data aggregated by CheckOps, updated automatically. Source texts remain the property of their authors. All exploited vulnerabilities