BerriAI · LiteLLM
CVE-2026-40217
BerriAI LiteLLM Unprotected Alternate Channel Vulnerability
What it is
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
CISA: BerriAI LiteLLM contains an unprotected alternate channel vulnerability that could allow remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
What to do
Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
Deadline for US federal agencies: December 2, 2026
- Added to the CISA list
- November 18, 2026
- Published
- April 10, 2026
- Severity
- High 8.8 CVSS 3.1
- Chance of attacks in the next 30 days (EPSS)
- 83% in the top 0.3% of all known vulnerabilities
- Weakness
- CWE-420
- More details
- NVD · CVE.org · CISA
All references (1)
More exploited flaws from BerriAI
| Added | Vulnerability | Product | Severity | Attack chance |
|---|---|---|---|---|
| Sep 2, 2026 | Improper Authentication | LiteLLM | High 8.8 | 14% |
| Jun 8, 2026 | Command Injection | LiteLLM | High 8.7 | 94% |
| May 8, 2026 | SQL Injection | LiteLLM | Critical 9.3 | 89% |
Sources: Known Exploited Vulnerabilities (CISA, public domain), CVE records (cve.org) and EPSS (FIRST). The chance of attacks is the EPSS estimate that someone will try to exploit the flaw in the next 30 days.