## Overview
CISA added CVE-2026-40217 to its Known Exploited Vulnerabilities (KEV) list on November 18, 2026. This vulnerability affects BerriAI's LiteLLM product. It allows remote attackers to execute arbitrary code through bytecode rewriting at the /guardrails/test_custom_code URI.
## Technical Details
The vulnerability stems from an unprotected alternate channel in LiteLLM. Attackers can exploit this flaw to manipulate the system and execute malicious code. The CVSS score for this vulnerability is 8.8, indicating a high severity level. The flaw affects all versions of LiteLLM released before April 8, 2026.
## Impact
Exploitation of this vulnerability can lead to significant security breaches. Attackers may gain control over affected systems, potentially leading to data theft, system compromise, or further attacks within the network. Recent reports indicate that hackers are actively exploiting this flaw, emphasizing the urgency for organizations to address it.
## Mitigation
Organizations using LiteLLM should immediately apply any available patches. Regularly update systems and monitor for suspicious activity related to this vulnerability. Implementing strict access controls and reviewing configurations can also help mitigate risks associated with this exploit.
CSURFACE Threat Sensor