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.
Fix
apply the vendor fix or mitigation
Why this tier
Known exploited server software, total technical impact.
Check whether you run an affected LiteLLM version:
pip show litellm | grep Version
Apply the vendor fix. CISA's required action: Apply mitigations in accordance with vendor instructions.Vendor advisory
Upgrade the LiteLLM proxy image or package and restart; rotate any keys the proxy held if the advisory involves key exposure.
Using distro packages? Distros backport fixes under their own version numbers. Check your distro's status for CVE-2026-40217:Debian · Ubuntu · Red Hat · Alpine
This is exploited in the wild: after patching, check exposed systems for signs of compromise.
Deadline: CISA's federal due date is 2026-12-02. Treat it as the latest reasonable date for everyone else.