CVE-2026-40217
HIGHCVSS 8.8/10EPSS 0.72%
Last modified
CVE-2026-40217 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.. EPSS estimates a 0.72% chance of exploitation in the next 30 days.
Description
LiteLLM through 2026-04-08 allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Litellm | Litellm | <= 2026-04-08 |
References
- https://www.x41-dsec.de/lab/advisories/x41-2026-001-litellm/Exploit, Mitigation, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is 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.
How severe is CVE-2026-40217?
CVE-2026-40217 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 0.72% probability of exploitation in the next 30 days.
How do I fix CVE-2026-40217?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2026-40217?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
