# CVE-2026-40217

## Summary

- **CVE ID:** CVE-2026-40217
- **Severity:** HIGH
- **CVSS Score:** 8.8 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
- **CWE:** CWE-420
- **Published:** Apr 10, 2026
- **Last Modified:** Jul 15, 2026

## Description

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

## Affected Products

- BerriAI — LiteLLM (bb0639701796218a3447160e55c0f1097446e4e6085df7dfd39f476d4143743f)

## References

- [CNA](https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/)
- [redhat-SADP](https://access.redhat.com/security/cve/CVE-2026-40217)
- [redhat-SADP](https://bugzilla.redhat.com/show_bug.cgi?id=2457301)
- [redhat-SADP](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40217.json)
- [redhat-SADP](https://access.redhat.com/errata/RHSA-2026:24866)
- [redhat-SADP](https://access.redhat.com/errata/RHSA-2026:30056)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 15.06%
- **EPSS Percentile:** 96.5

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-11._