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
- Red Hat Security Data
- NVD
- CVE Program
- GitHub Advisory Database
- Vendor advisory: github.com
- Vendor advisory: cisa.gov
- ENISA EUVD
- CISA Cybersecurity Advisories
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.