CVE-2026-40217 BerriAI · LiteLLM
8.8 HighKEVEU
AI summary
LiteLLM through 2026-04-08 allows remote code execution via bytecode rewriting at the /guardrails/test_custom_code endpoint. A remote attacker with low privileges can fully compromise the system. High (8.8) and actively exploited per CISA KEV; restrict access to the endpoint and update immediately.
Official description
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
- Published
- 2026-04-10 14:16 UTC
- Modified
- 2026-11-19 17:18 UTC
- CVSS
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - EPSS
- 20.21% (percentile 98)
- CISA KEV
- added: 2026-11-18 · due date (US federal agencies): 2026-12-02
BerriAI LiteLLM Unprotected Alternate Channel Vulnerability - ENISA EUVD
- EUVD-2026-21376 · exploited: 2026-11-18
- CISA SSVC
- Exploitation: active · Automatable: no · Technical impact: total
- CWE
- CWE-420
CVSS vector
- Attack vector
- network
- Attack complexity
- low
- Privileges required
- low
- User interaction
- none
- Scope
- unchanged
- Confidentiality
- high
- Integrity
- high
- Availability
- high
References
- NVD · CVE.org
- www.x41-dsec.de
https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/ - access.redhat.com
https://access.redhat.com/errata/RHSA-2026:24866 - access.redhat.com
https://access.redhat.com/errata/RHSA-2026:30056 - access.redhat.com
https://access.redhat.com/security/cve/CVE-2026-40217 - bugzilla.redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2457301 - security.access.redhat.com
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json - www.cisa.gov
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-40217