CVE-2026-40217

State
Published
Severity
8.8 High
Published
Apr 10, 2026
Updated
Jul 15, 2026
Reserved
Apr 10, 2026

Read the record on cve.org

Description

LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.

Scores

CVSSScoreVectorSource
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hmitre
3.18.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat-SADP

Weaknesses

  • CWE-420 Unprotected Alternate Channel
  • CWE-94 Improper Control of Generation of Code ('Code Injection')

Affected Products

ProductVersions
LiteLLMBerriAI
  • bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743fAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.