RCE in Berriai Litellm
CVE-2026-40217
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.170, 97.1th percentile (scored ); up from 0.034 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.034 · newest: 0.170 · change: +0.136
Affected products
- Berriai Litellm — versions bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f
- Litellm
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- learner202649/CVE-2026-40217-PoC (last pushed 2026-05-19): The code for personally reproducing the corresponding vulnerability
References
- www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/ (Exploit, Third Party Advisory, Mitigation)
- 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
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json
This CVE has public exploit evidence. See the latest CVEs with public exploits.