CVE-2026-40217: BerriAI LiteLLM Unprotected Alternate Channel Vulnerability
Vulnerability summary
CVE-2026-40217 is a high (CVSS 8.8) Unprotected Alternate Channel vulnerability in BerriAI LiteLLM. It is known to be exploited: CISA lists it, first on 18-11-2026. EPSS estimates a 83.12% chance of exploitation in the next 30 days, higher than 99.6% of scored vulnerabilities. 1 public exploit is recorded.
Listed as exploited by CISA (18-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 1 · Downstream 0 · Related 2Timeline
- 10-04-2026PublishedVulnerability first disclosed.
- 18-11-2026Added to CISA KEVExploitedBerriAI LiteLLM Unprotected Alternate Channel Vulnerability
- 19-11-2026Last modifiedVulnerability information updated.
- 02-12-2026CISA remediation dueDeadline passedApply mitigations per vendor instructions.
Description
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
CVSS metrics
8 scores · 5 sources · 2 versions- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · PypiEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
83.12%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
Increase +66.10 pp
From 17.02% on 04-11-2026
Known exploited
Compare KEV catalogs- Added
- 18-11-2026
- Federal due date
- 02-12-2026
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
CISA 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. github.com/BerriAI/litellm/security/advisories/GHSA-wxxx-gvqv-xp7p nvd.nist.gov/vuln/detail/CVE-2026-40217
Public exploits
1 foundExploit Reference (x41-dsec.de)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-420Unprotected Alternate ChannelThe product protects a primary channel, but it does not use the same level of protection for an alternate channel.
- CWE-94Improper Control of Generation of CodeThe product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard3 products
- airflow-3< 3.2.2-r7
- litellmAll versions (No fix recorded)
- litellm-compatAll versions (No fix recorded)
Redhat3 products
- ansible_automation_platform≥ 2.0, < 2.6-9
- openshift_ai≥ 3.3, < 3.3.4
- openshift_lightspeedna
Berriai1 product
- litellmbb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f
Litellm1 product
- litellm≤ 2026-04-08 | ≥ 1.81.8, < 1.83.10
PyPI1 product
- litellm≥ 1.81.8, < 1.83.10
Wolfi1 product
- airflow-3< 3.2.2-r7
6 vendors · 10 products
References
14 links- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.jsonX Sadp Csaf VexThird Party Advisory
- github.com/BerriAI/litellmPACKAGE
Show all 14 references
- pypi.org/project/litellmPACKAGE
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-40217Government ResourceUS Government Resource