CVE-2026-40217

EUVD-2026-21376
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
Code Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
8.8 HIGH
NETWORK
LOW
LOW
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Base Score
CVSS 3.x
EPSS Score
Percentile: 99.58%
Affected Products (NVD)
VendorProductVersion
litellmlitellm
1.81.8 ≤
𝑥
< 1.83.10
redhatansible_automation_platform
2.0 ≤
𝑥
< 2.6-9
redhatopenshift_ai
3.3 ≤
𝑥
< 3.3.4
redhatopenshift_lightspeed
-
𝑥
= Vulnerable software versions