8.8

CVE-2026-42271: BerriAI LiteLLM Command Injection Vulnerability

KEV
Analyzed
AliasesGHSA-v4p8-mg3p-g94gPYSEC-2026-2599CGA-77vh-8x3h-jh3f
Published 08-05-2026Last modified 15-07-2026

Vulnerability summary

CVE-2026-42271 is a high (CVSS 8.8) vulnerability in BerriAI LiteLLM. It is known to be exploited: CISA lists it, first on 08-06-2026. EPSS estimates a 94.50% chance of exploitation in the next 30 days, higher than 99.8% of scored vulnerabilities. 1 public exploit is recorded.

Priority
Act nowlisted as exploited

Listed as exploited by CISA (08-06-2026)

Source freshness unavailable

How is this decided?
CVSS score
8.8/10
010
High · v3.1 (CVE.org)
EPSS score
94.50%
0%100%
Critical · +3.05 pp in 30 days
KEVExploited in the wildCritical · listed in 1 catalog
RansomwareNot flaggedNo ransomware use recorded.
Public exploits1metasploit

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 08-05-2026
    PublishedVulnerability first disclosed.
  2. 08-06-2026
    Added to CISA KEVExploitedBerriAI LiteLLM Command Injection Vulnerability
  3. 22-06-2026
    CISA remediation dueDeadline passedApply mitigations per vendor instructions.
  4. 15-07-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

8 scores · 5 sources · 2 versions

EPSS trend

Probability

94.50%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

Increase +3.05 pp

From 91.44% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEVListed
Added
08-06-2026
Federal due date
22-06-2026
ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

CISA 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. github.com/BerriAI/litellm/releases/tag/v1.83.7-stable nvd.nist.gov/vuln/detail/CVE-2026-42271

Public exploits

1 found
  • MetasploitMetasploitremoteVerified

    BerriAI LiteLLM Proxy MCP Test Endpoint Command Execution

    exploit/multi/http/litellm_mcp_test_cmd_injection

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • airflow-3< 3.2.2-r7
  • litellm< 1.83.10.0-r0
Berriai1 product
Litellm1 product
PyPI1 product
  • litellm≥ 1.74.2, < 1.83.7
Redhat1 product
Wolfi1 product
  • airflow-3< 3.2.2-r7

6 vendors · 7 products

References

14 links
Show all 14 references