Actively exploited vulnerability / CVE-2026-42271
LiteLLM: any user with an access key can take control of the server
A flaw in LiteLLM lets anyone with a valid access key, even a low-privilege one, run any commands on the server where LiteLLM is installed. This means an employee, a compromised account or a leaked key could lead to stolen data, stolen keys for AI services, or the server being used for further attacks. It is on the lists of vulnerabilities used in real attacks kept by CISA (the US cybersecurity agency) and by ENISA (the EU cybersecurity agency).
- Identifier
- CVE-2026-42271 · EUVD-2026-28507
- Severity
- High (8.7/10)
- On the CISA list (US)
- yes, since 8 June 2026
- Deadline given to US federal agencies
- 22 June 2026
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 7.3% (FIRST's estimate for the next 30 days)
Does it concern you?
LiteLLM is a gateway server that lets a company's applications reach AI models such as those from OpenAI. It is typically run by teams that build or integrate AI tools, and some versions of Red Hat OpenShift AI include it.
Ask your IT team or the provider managing your AI services whether you use LiteLLM and which version is running. Affected are LiteLLM from version 1.74.2 up to before 1.83.7, and Red Hat OpenShift AI 2.25 before 2.25.8 and 3.3 before 3.3.4.
Affected products and versions
- BerriAI LiteLLM
- litellm: from 1.74.2 before 1.83.7
- openshift ai: from 2.25 before 2.25.8; from 3.3 before 3.3.4
What to do
Update to LiteLLM 1.83.7 or later, or to Red Hat OpenShift AI 2.25.8 or 3.3.4. If you cannot update right away, follow the vendor's guidance or stop using the product until it is fixed.
Versions that contain the fix: 1.83.7, 2.25.8, 3.3.4.
The official description
The text below is the description from the public database.
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.
Sources
- GitHub Advisory Database
- Red Hat Security Data
- CVE Program
- Vendor advisory: github.com
- Vendor advisory: nvd.nist.gov
- NVD
- ENISA EUVD
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.