EXPOSURES › CVE-2026-40217
CVE-2026-40217
HIGH ⌖ ON CISA KEV · EXPLOITEDBerriAI LiteLLM allows remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.
This vulnerability exposes the core API routing logic of the LiteLLM library to compromise, enabling attackers to inject and execute malicious bytecode. For DIB organizations, this represents a critical supply-chain risk where a trusted AI library could be weaponized to bypass security controls or exfiltrate sensitive data. Organizations must immediately audit their use of LiteLLM and restrict access to any custom code execution endpoints.
Shame score — The vendor shipped a product with a known unprotected alternate channel allowing remote code execution, indicating a severe lack of input validation and secure coding practices.
▸ RECOMMENDED ACTION Actively exploited (CISA KEV) — remediate now, ahead of your normal patch cycle.
BerriAI LiteLLM contains an unprotected alternate channel vulnerability that could allow remote attackers to execute arbitrary code via bytecode rewriting at the /guardrails/test_custom_code URI.