Skip to content

This vulnerability is being actively exploited in the wild, according to the CISA Known Exploited Vulnerabilities catalog. CISA added it on .

HighVulnerabilityLLM-specific

CVE-2026-40217: LiteLLM remote code execution at /guardrails/test_custom_code

Identifier
CVE-2026-40217
Published
Record updated
View JSON
Affected
  • litellm >= 1.81.8, < 1.83.10
Fixed in
1.83.10
  • released April 18, 2026, 9 days after disclosure
EPSS
78.0%

Summary

CVE-2026-40217 affects LiteLLM through 2026-04-08. The source says remote attackers can execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI. The weakness is classified as CWE-420 (Unprotected Alternate Channel), and NVD has not yet provided an assessment.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.