CVE-2026-40217 is a critical vulnerability in LiteLLM versions through April 8, 2026 that enables remote code execution through bytecode rewriting mechanisms at the /guardrails/test_custom_code endpoint. The vulnerability has a CVSS score of 8.8 (HIGH), indicating significant risk to affected systems and their data. The attack requires low complexity and low privilege access but requires network connectivity and user authentication, making it accessible to authenticated threat actors. Exploitation would result in complete compromise of confidentiality, integrity, and availability. Currently, this vulnerability is not listed on the CISA Known Exploited Vulnerabilities catalog and is not actively being exploited in the wild, though the FAUCET risk score of 52.0 suggests moderate concern within the threat landscape.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
<= 2026-04-08CPE matchmatch criteria | cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.3 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.