CVE-2026-40217
BerriAI LiteLLM Unprotected Alternate Channel Vulnerability
- Actively exploited
- High · 8.8 of 10
- Exploited since
- 18 Nov 2026 added to the CISA list
- Chance of attacks
- 62% in the next 30 days (FIRST EPSS)
- Fix deadline
- 2 Dec 2026 for US federal agencies
- Published
- 10 Apr 2026 in the NVD
What this means
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.
CISA
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
NIST National Vulnerability Database
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.
CISA's required action. If you use the product, install the vendor's update as soon as possible.
Affected
- BerriAI LiteLLM
- Red Hat Red Hat Ansible Automation Platform 2.6
- Red Hat Red Hat OpenShift AI 3.3
- Red Hat Lightspeed Core
- Red Hat Red Hat OpenShift AI (RHOAI)
Official sources
- nvd.nist.gov/vuln/detail/CVE-2026-40217
- x41-dsec.de/lab/advisories/x41-2026-001-litellm/
- access.redhat.com/errata/RHSA-2026:24866
- access.redhat.com/errata/RHSA-2026:30056
- access.redhat.com/security/cve/CVE-2026-40217
- bugzilla.redhat.com/show_bug.cgi?id=2457301
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json
- cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-40217
Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 19 Nov 2026. CVSS vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.