CVE-2026-40217
CONFIRMED EXPLOITEDBerriAI LiteLLM Unprotected Alternate Channel Vulnerability
Is BerriAI LiteLLM affected by CVE-2026-40217?
BerriAI LiteLLM is listed in the CISA Known Exploited Vulnerabilities catalog for CVE-2026-40217, added on 2026-11-18. CISA only adds a CVE once it has evidence of exploitation in the wild, so the patching question is not whether it can be attacked but how soon your instances must be updated.
Affected products published by NIST NVD (4 vulnerable CPE entries): litellm litellm, redhat ansible_automation_platform, redhat openshift_ai and redhat openshift_lightspeed.
Published CPE version bounds mark releases below 3.3.4 as vulnerable. Those bounds describe what is affected, not what patches it: upgrade to the fixed release named in the vendor advisory below, then confirm the installed version with your package manager or scanner.
The CISA remediation deadline for this entry is 2026-12-02.
RELATED VULNERABILITY DOSSIERS
Other catalog entries that share this product, vendor, or weakness, or that sit next to this advisory in the CISA KEV timeline.
- CVE-2026-59822Same productBerriAI LiteLLM
BerriAI LiteLLM Improper Authentication Vulnerability
- CVE-2026-42271Same productBerriAI LiteLLM
BerriAI LiteLLM Command Injection Vulnerability
- CVE-2026-42208Same productBerriAI LiteLLM
BerriAI LiteLLM SQL Injection Vulnerability
- CVE-2026-90817Shared weaknessVanderbilt University Research Electronic Data Capture (REDCap)
Vanderbilt University Research Electronic Data Capture (REDCap) Code Injection Vulnerability
- CVE-2024-10441Neighboring entrySynology DiskStation Manager (DSM)
Synology DiskStation Manager (DSM) Improper Encoding or Escaping of Output Vulnerability
- CVE-2026-90436Neighboring entryApache Axis
Apache Axis Unsafe Reflection Vulnerability
1. VULNERABILITY OVERVIEW & TECHNICAL MECHANISM
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.
Get Stack Watch email when a KEV hits your stack ($99/year or $12/month)
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
2. AFFECTED VERSIONS, PRODUCTS & VERIFIED CPE CONFIGURATIONS
3. EXPLOITATION EVIDENCE, IMPACT & HOW TO DETECT IT
This vulnerability was added to the CISA Known Exploited Vulnerabilities (KEV) catalog on 2026-11-18. Inclusion in KEV requires verified evidence of active exploitation in the wild. Known ransomware campaign use is recorded by CISA as: "Unknown".
Note: KEV inclusion confirms that threat actors have exploited this flaw in real-world incidents; it does not imply every deployment of LiteLLM has been compromised.
- CVSS vector indicates high impact to Confidentiality (C:H), Integrity (I:H), and Availability (A:H) of the affected component.
- Network service surface (BerriAI LiteLLM): inspect perimeter and internal flow telemetry (`Zeek conn.log`, `Suricata eve.json`) and host service logs for anomalous connection bursts, protocol errors, or unexpected child processes.
- Inventory all hosts running BerriAI LiteLLM and compare installed package/build versions against the NVD CPE configurations and vendor advisory below.
4. FIXED VERSION, MITIGATIONS & OFFICIAL ADVISORY CITATIONS
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.
- https://github.com/BerriAI/litellm/security/advisories/GHSA-wxxx-gvqv-xp7p
- https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk
- https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk
- https://nvd.nist.gov/vuln/detail/CVE-2026-40217
- https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/ExploitMitigationThird Party Advisory
- https://access.redhat.com/errata/RHSA-2026:24866Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:30056Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2026-40217Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2457301Third Party Advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.jsonThird Party Advisory
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-40217US Government Resource
SCORING & VECTOR TELEMETRY
NIST NVD score not yet provided. Score attributed to MITRE (cve@mitre.org, Secondary / CNA assessment distributed via NVD).
EPSS estimates the statistical probability of exploitation activity in the next 30 days—it is not proof of confirmed exploitation.
RELEVANT DEFENSIVE TOOLS
Curated open-source defensive and verification utilities from The Loot applicable to this asset class:
Endpoint visibility, digital forensics, and incident response (DFIR) platform
Network security monitoring (NSM) and protocol metadata extraction framework
Multi-threaded IDS, IPS, and network security monitoring engine
VirusTotal's memory-safe Rust rewrite of YARA for binary & implant hunting