Skip to main intelligence content
SOURCES: CISA KEV + NIST NVD 2.0 + FIRST EPSS
LOOT & EXPLOITS
DEFENSIVE VULN & TOOL TRIAGE

PAID STACK WATCH · $99/year or $12/month

Back to Exploit Watch
Free RSS · BerriAILast Sync: 2026-12-02 12:17:09 UTC

CVE-2026-42271

CONFIRMED EXPLOITED
8.8HIGHNIST NVDEPSS 94.50%(99.9th pct)
BerriAI // LiteLLM

BerriAI LiteLLM Command Injection Vulnerability

Added to CISA KEV2026-06-08
NVD Published Date2026-05-08
NVD Last Modified2026-10-26
CWE ClassificationCWE-78, CWE-77

Is BerriAI LiteLLM affected by CVE-2026-42271?

BerriAI LiteLLM is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2026-42271, added on 2026-06-08. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.

Affected products published by NIST NVD (4 vulnerable CPE entries): litellm litellm and redhat openshift_ai.

Published CPE version bounds mark releases below 3.3.4 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.

The CISA remediation deadline for this entry is 2026-06-22.

RELATED VULNERABILITY DOSSIERS

Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.

1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM

CISA KEV Verified Summary

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.

Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)

What the Vulnerability Actually Does (NVD / CNA Technical 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.

2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS

CISA REPORTED VENDORBerriAI
CISA REPORTED PRODUCTLiteLLM
Verified NIST NVD CPE 2.3 Version Ranges (4 entries):
litellm:litellm
>= 1.74.2 , < 1.83.7
redhat:openshift_ai
>= 2.25 , < 2.25.8
redhat:openshift_ai
>= 3.3 , < 3.3.4
redhat:openshift_ai
== 3.4

3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT

Confirmed Exploitation Evidence (Cited to CISA KEV)

This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2026-06-08. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".

Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of LiteLLM has been compromised.

Potential Impact (Vector-Derived)
  • CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
Defensive Detection Opportunities
  • Network service surface (BerriAI LiteLLM): inspect perimeter and internal flow telemetry (`Zeek conn.log`, `Suricata eve.json`) and host service logs for anomalous connection bursts, protocol errors, or unexpected child processes.
  • Command/Argument Injection class (CWE-77/78/88): monitor process trees for `/bin/sh`, `bash`, `cmd.exe`, `powershell`, `curl`, or `wget` spawned as child processes of the service daemon.
  • Inventory all hosts running BerriAI LiteLLM and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.

4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS

CISA Required Remediation Action (Due Date: 2026-06-22)

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

SCORING & VECTOR TELEMETRY

NIST NVD CVSS v3.1 Base Score
8.8 / 10.08.8HIGHNIST NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary assessment authored by NIST NVD (nvd@nist.gov).

FIRST EPSS 30-Day Exploitation Probability
94.50%EPSS 94.50%(99.9th pct)
Percentile: 99.9th pct · Raw: 0.94499 · Date: 2026-12-01

EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.

RELEVANT DEFENSIVE TOOLS

Curated open-source defensive and verification utilities from The Loot applicable to this asset class:

SOURCE PROVENANCE LOG

CISA KEV Feed
Catalog v2026.11.30 · Synced 2026-12-02T12:17:05Z
NVD CVE 2.0 API & CVSS Authority
Enriched: 2026-12-02T12:17:09Z
Score Source: NIST NVD (nvd@nist.gov)
FIRST EPSS v1 API
Score Date: 2026-12-01