Skip to content
On CISA KEVHigh

CVE-2026-42271Litellm Command Injection

LiteLLM: Authenticated command execution via MCP stdio test endpoints

Published Apr 25, 2026 · Updated Nov 5, 2026 · Also known as CGA-5567-cjp8-f9j6, CGA-77vh-8x3h-jh3f, CGA-m33g-44hr-xw7g, CGA-m6v2-r9jg-jw7j, ECHO-c4c7-aed2-2231, GHSA-v4p8-mg3p-g94g, MINI-2r2w-xq7g-q5j6, MINI-45w8-qv5q-qqcp, MINI-4r4g-687v-g9j9, MINI-7qv8-pqwr-2c4r, MINI-965q-5x27-w7x2, MINI-mwp4-g93c-7fg7, PYSEC-2026-2599

Key Facts

Patch immediately
  • CVE-2026-42271 is a high-severity vulnerability (CVSS 8.7 v4) affecting Litellm, Openshift Ai (Redhat), 2.25 (Openshift Ai) and 22 more products.
  • It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Jun 8, 2026 and is known to be used in ransomware campaigns. Public exploit code is available.
  • EPSS estimates a 7.3% probability of exploitation in the next 30 days.
  • Fixed versions are available, including airflow-3 3.2.2-r7, airflow-3 3.3.1-r0, Litellm 1.83.10.0-r0.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v4

8.7

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

EPSS (30-day exploit likelihood)

7.3%

Higher than 95.1% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

57/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Jun 8, 2026

44 days after publication

Federal due date

Jun 22, 2026

Overdue

Ransomware use

Known

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

19

Reports of active use

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

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CISA KEVJun 8, 2026Jun 22, 2026Not reported
Industry KEV feedJun 8, 2026Jun 22, 2026Known
CIRCL KEVJun 8, 2026Jun 22, 2026Not reported
ENISA EUVDJun 8, 2026n/aNot reported

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

Affected Products

42 affected entries in total
ProductAffected versionsFixed in
LitellmLitellm>= 1.74.2, >= 1.74.2, < 1.83.71.83.7
Openshift AiRedhat3.42.25.8
2.25Openshift AiSee advisory1781826406
3.3Openshift AiSee advisory1782310008
3.4Openshift AiSee advisory1781622627
20 more affected products in the full CVE brief

Patched Releases

airflow-3

3.2.2-r7, 3.3.1-r0

Litellm

1.83.10.0-r0, 1.83.7

litellm-1.83

1.83.10-r0

litellm-1.83-bin

1.83.10-r0

litellm-1.83-dashboard

1.83.10-r0

litellm-1.83-oci-entrypoint

1.83.10-r0

Openshift Ai

1781622627, 1781826406, 1782310008, 2.25.8, 3.3.4

Timeline

  1. Publicly disclosed

    Apr 25, 2026

  2. Added to CISA KEV

    Jun 8, 2026

  3. Added to Industry KEV feed

    Jun 8, 2026

  4. Added to CIRCL KEV

    Jun 8, 2026

  5. Added to ENISA EUVD

    Jun 8, 2026

  6. Last updated

    Nov 5, 2026

Weakness Type

  • CWE-77 Improper Neutralization of Special Elements used in a Command
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2026-42271 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 2, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.