CVE-2026-42271
BerriAI LiteLLM Command Injection Vulnerability
Patch priority
Patch nowAlready actively exploited according to CISA.
- CVSS
- 8.8
- Severity
- 8.8
- EPSS
- 94 %
- Percentile
- 100
- Actively exploited
- yes (CISA KEV)
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run litellm litellm. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- The attacker must already be logged in – this lowers the risk.
- Nobody has to click anything.
- The flaw is already being actively exploited (CISA KEV).
What to do?
- Update immediately – do not wait for the next maintenance window.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
- Because the flaw is already exploited: after updating, check for unusual logins, new users or unknown files.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDLiteLLM 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.
- Vendor / product
- litellm litellm
- Published
- 08.05.2026
- Modified
- 26.10.2026
- CWE
- CWE-77
- Status
- Analyzed
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Actively exploited (CISA KEV)
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.
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.
Added: 08.06.2026 · Deadline (US agencies): 22.06.2026
Vendor updates
3- Red Hat: RHSA-2026:30056 – RHSA-2026:30056 registry.redhat.io/rhoai/odh-llama-stack-core-rhel9@sha256:b6ec1fac474c9ff596322446656add0ebb10c449d623c37 … 25.06.2026 · Patch day
- Red Hat: RHSA-2026:28960 – RHSA-2026:28960 registry.redhat.io/rhoai/odh-llama-stack-core-rhel9@sha256:66cc80e961fe991b063dc51467fa901dce3fb2afc383afe … 24.06.2026 · Patch day
- Red Hat: RHSA-2026:27784 – RHSA-2026:27784 registry.redhat.io/rhoai/odh-operator-bundle@sha256:0efd1bb73b277b4cdca47bcb424679de6fd094d04e73e7a3ed0c47 … 22.06.2026 · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.