BerriAI · LiteLLM · CWE-78 · CWE-77 · published 2026-05-08

CVE-2026-42271BerriAI LiteLLM Command Injection Vulnerability

Patch today Known exploited server software, total technical impact.

CVE-2026-42271 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2026-06-08. EPSS estimates a 91.4% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This LiteLLM vulnerability: CVSS 8.7 (v4.0), a successful attack gives total control of the component. Fixed upstream in LiteLLM 1.83.7. US federal agencies must remediate by 2026-06-22. Patch today.

Share this

Remediation#

Fixed upstream in LiteLLM 1.83.7.

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. (federal due date 2026-06-22)

Patch events

  1. Patch todayExploited (KEV)CISA due 2026-06-22

    AI toolingLiteLLM

    Command InjectionCVE-2026-42271

    Why: Known exploited server software, total technical impact.

  2. Patch todaySecurity release

    AI toolingLiteLLM

    LiteLLM security release: 1.83.7

    Upgrade to 1.83.7

    Why: Known exploited server software, total technical impact.

Exploit intelligence#

SignalValueSource
Known exploitedYes, added 2026-06-08CISA KEV
Ransomware useUnknownCISA KEV
EPSS (30-day exploitation probability)91% (100th pct)FIRST EPSS v2026.06.15
CVSS base score8.7 (v4.0)
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
CNA / CISA ADP
SSVC exploitationactiveCISA Vulnrichment
SSVC automatableNoCISA Vulnrichment
SSVC technical impacttotalCISA Vulnrichment

Weakness: CWE-78: Improper Neutralization of Special Elements used in an OS Command · CWE-77: Improper Neutralization of Special Elements used in a Command

More from this vendor: all BerriAI vulnerabilities · recent KEV additions

Affected versions (from the CVE record)#

Description (from the CVE record)#

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.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →