CVE-2026-40217
Published 2026-04-10 · Updated 2026-11-19 · Source cve@mitre.org
Summary
CVE-2026-40217 is a high-severity (CVSS 8.8) vulnerability in BerriAI LiteLLM. CISA added it to the Known Exploited Vulnerabilities catalog on November 18, 2026, which means exploitation in the wild has been confirmed; US federal agencies must remediate it by December 2, 2026. CISA does not currently list it as used in ransomware campaigns. BerriAI has 4 vulnerabilities in the KEV catalog, 0 of them linked to ransomware.
All 4 known-exploited BerriAI vulnerabilities →Description
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA Known-Exploited Vulnerability
Product: BerriAI — LiteLLM
Name: BerriAI LiteLLM Unprotected Alternate Channel Vulnerability
Date added: 2026-11-18 · Due: 2026-12-02
Required action: 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.
References
- https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/
- https://access.redhat.com/errata/RHSA-2026:24866
- https://access.redhat.com/errata/RHSA-2026:30056
- https://access.redhat.com/security/cve/CVE-2026-40217
- https://bugzilla.redhat.com/show_bug.cgi?id=2457301
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-40217

