CVE-2026-40217: BerriAI LiteLLM Unprotected Alternate Channel Vulnerability

Summary

BerriAI LiteLLM has an unprotected alternate channel vulnerability at the /guardrails/test_custom_code URI that could permit remote attackers to execute arbitrary code through bytecode rewriting. Users are advised to apply vendor-provided mitigations or discontinue use if mitigations are unavailable, following CISA's guidance on prioritizing security updates.

IFF Assessment

FOE

This vulnerability allows for remote code execution, which is a significant threat that can be exploited by attackers.

Severity

8.8 High (CVSS v3.1)

CISA KEV: Listed as actively exploited. Federal patch due: December 02, 2026. Known ransomware use: Unknown.

Defender Context

This vulnerability in BerriAI LiteLLM presents a critical risk of remote code execution, potentially allowing attackers to compromise systems running the software. Defenders should prioritize patching or applying mitigations as soon as they are available and assess any potential for exploitation via bytecode rewriting.

Read Full Story →