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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*

History

30 Jun 2026, 03:19

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:24866 -
  • () https://access.redhat.com/errata/RHSA-2026:30056 -
  • () https://access.redhat.com/security/cve/CVE-2026-40217 -
  • () https://bugzilla.redhat.com/show_bug.cgi?id=2457301 -
  • () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json -
CWE CWE-94

17 Jun 2026, 10:44

Type Values Removed Values Added
References () https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/ - Third Party Advisory, Exploit, Mitigation () https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/ - Exploit, Mitigation, Third Party Advisory

27 Apr 2026, 23:00

Type Values Removed Values Added
CPE cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:*
References () https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/ - () https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/ - Third Party Advisory, Exploit, Mitigation
First Time Litellm litellm
Litellm

10 Apr 2026, 14:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-10 14:16

Updated : 2026-07-15 02:21


NVD link : CVE-2026-40217

Mitre link : CVE-2026-40217

CVE.ORG link : CVE-2026-40217


JSON object : View

Products Affected

litellm

  • litellm
CWE
CWE-420

Unprotected Alternate Channel

CWE-94

Improper Control of Generation of Code ('Code Injection')