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.
- Source:
- NVD CVE API 2.0
- Published:
- Fetched:
- Updated:
- Affects:
- BerriAI LiteLLM
- KEV due:
- 2026-12-02
https://nvd.nist.gov/vuln/detail/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. References: https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/ 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 https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-40217