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.
Advisories And Exploit References
- advisoryhttps://www.cve.org/CVERecord?id=CVE-2026-42271
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-42271
- advisoryRHSA-2026:27784
- advisoryRHSA-2026:28960
- advisoryRHSA-2026:30056
- advisoryGHSA advisory
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
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| CISA KEV | Jun 8, 2026 | Jun 22, 2026 | Not reported |
| Industry KEV feed | Jun 8, 2026 | Jun 22, 2026 | Known |
| CIRCL KEV | Jun 8, 2026 | Jun 22, 2026 | Not reported |
| ENISA EUVD | Jun 8, 2026 | n/a | Not 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| Product | Affected versions | Fixed in |
|---|---|---|
| LitellmLitellm | >= 1.74.2, >= 1.74.2, < 1.83.7 | 1.83.7 |
| Openshift AiRedhat | 3.4 | 2.25.8 |
| 2.25Openshift Ai | See advisory | 1781826406 |
| 3.3Openshift Ai | See advisory | 1782310008 |
| 3.4Openshift Ai | See advisory | 1781622627 |
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
Publicly disclosed
Apr 25, 2026
Added to CISA KEV
Jun 8, 2026
Added to Industry KEV feed
Jun 8, 2026
Added to CIRCL KEV
Jun 8, 2026
Added to ENISA EUVD
Jun 8, 2026
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
- advisorycve.org · CVERecord
- advisorynvd.nist.gov · CVE-2026-42271
- advisoryRHSA-2026:27784
- advisoryRHSA-2026:28960
- advisoryRHSA-2026:30056
FAQ
Common Questions.
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format.
Affected: Litellm versions >= 1.74.2, >= 1.74.2, < 1.83.7; Openshift Ai (Redhat) versions 3.4; 2.25 (Openshift Ai), among others. The full list is in the CVE brief.
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.
Yes. It was added on Jun 8, 2026 with a federal remediation due date of Jun 22, 2026.
Public exploit code is available.
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.
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