cybersecurity Request an audit

Actively exploited vulnerability / CVE-2026-40217

LiteLLM: an attacker can take control of the server remotely

A vulnerability in LiteLLM lets a remote attacker run any code they choose on the server where it is installed. This can expose the access keys for your AI services, the data passing through the system, and the rest of your network. It is on the lists of vulnerabilities used in real attacks kept by both CISA (the US cybersecurity agency) and ENISA (the EU cybersecurity agency).

Identifier
CVE-2026-40217 · EUVD-2026-21376
Severity
High (8.8/10)
On the CISA list (US)
yes, since 18 November 2026
Deadline given to US federal agencies
2 December 2026
On the ENISA list (EU)
yes
Probability of exploitation (EPSS)
20.6% (FIRST's estimate for the next 30 days)

Does it concern you?

LiteLLM is open source software that connects a company's applications to various AI services, such as large language models. It is typically used by development teams or companies building their own AI-based tools.

LiteLLM versions released up to and including 8 April 2026 are affected. Ask your technical team or the provider who manages your AI applications whether you use LiteLLM and which version is running.

Affected products and versions

  • BerriAI LiteLLM
  • litellm: up to and including 2026-04-08

What to do

Install the latest update from BerriAI and follow the vendor's guidance to reduce the risk. If no fix is available yet, consider stopping use of the software until one is released.

The official description

The text below is the description from the public database.

LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.

Sources

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.

Other exploited vulnerabilities in BerriAI LiteLLM

All exploited vulnerabilities in BerriAI LiteLLM

What you can do next

Request an audit

Find out what you expose, before someone else does.

Tell us who you are, confirm by email, and we will call you. Nothing is checked until you agree.

  1. You confirm by email, then we call you within two working days to understand your company and what should be checked.
  2. You get a fixed quote and a permission form that says exactly what we may test, and when.
  3. We do the work in the window you chose, and keep you posted.
  4. You get the report and a walkthrough call, then one retest of its findings within 30 days.

Only systems you own or may have checked / written permission first

Request an audit

No passwords or access details here. We ask for what we need after you sign the permission form.

After you send this, we email you a link to confirm it. We contact you only after you confirm.