CVE-2026-40217 — BerriAI LiteLLM Vulnerability
Source-verified CVE facts from NVD, CISA KEV and FIRST EPSS.
Direct answer
- Affected
- BerriAI LiteLLM · 4fea649f519b522254ba8bd38856f78991c50194 to < 0db4158c56f6e78316bc18f44a02d474d1487328, >= bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f
- Impact vs exploitation
- HIGH impact · P0 · CISA KEV confirmed
- Remediation
- Fixed in 0db4158c56f6e78316bc18f44a02d474d1487328
- Evidence
- 9 cited sources
Authoritative Technical Advisory
Verified source facts · NVD / CISA KEV / FIRST EPSS / LiteLLM: LiteLLM: Arbitrary Code Execution via bytecode rewriting / OSV.devBerriAI 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.
- Vendor
- BerriAI
- Product
- LiteLLM
- CWE
- CWE-420 (NVD) · CWE-94 (NVD)
- Threat type
- RCE
- CISA SSVC
- Exploitation active · Automatable no · Technical impact total
- Source status
- NOT ESTABLISHED
- Affected versions
- 4fea649f (commit) to < 0db4158c (commit) · >= bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f
- Fixed versions
- 0db4158c (commit)
- Source
- NVD / CISA KEV / FIRST EPSS / LiteLLM: LiteLLM: Arbitrary Code Execution via bytecode rewriting / OSV.dev
Attack surface & CVSS vector breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hnetwork attack surface; low attack complexity; low privileges required; no user interaction; scope unchanged; 3 of 3 impact dimensions fully compromised.
Exploitable over the network from any routable path.
No specialised conditions; reliable exploitation is practical.
Requires basic user-level privileges.
No user interaction required.
Impact stays within the vulnerable component.
Total loss of confidentiality.
Total loss of integrity.
Total loss of availability.
Triage & exploitation posture
IMMEDIATEPatch within the current change window. Treat exploitation as expected, not hypothetical.
- CISA KEV lists this CVE as known exploited
- CVSS base score 8.8
- EPSS 20.63%
- KEV remediation due 2026-12-02
Remediation & upgrade matrix
2 affected branches| Affected range | Fixed in | Action | Reference |
|---|---|---|---|
| 4fea649f (commit) to < 0db4158c (commit) | 0db4158c (commit) | Upgrade to the fixed release for this branch. | Advisory ↗ |
| >= bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f | Not published by the source | Confirm the fixed release with the vendor advisory. | Advisory ↗ |
Environment Risk Adjuster
Computed in your browser · nothing is sentNo adjustment applied
Public Exploit / PoC Intelligence
Keyless PoC-in-GitHub indexIntelligence may be incomplete, conflicting, stale, or revised. Capability is not execution; classification is not attribution.