Guardrails Become an Execution Channel: LiteLLM CVE-2026-40217 Enters the KEV Catalog
Guardrails as an Execution Channel: LiteLLM CVE-2026-40217 Enters KEV
On November 18, 2026, the U.S. CISA added LiteLLM's CVE-2026-40217 to the KEV catalog, requiring federal civilian agencies to remediate it by December 2. The vulnerability lies in a guardrails feature built for security: the regex sandbox of the test endpoint can be bypassed, custom Python code executes within the proxy process, and the default Docker image runs as root; CISA states that attackers can execute arbitrary code via /guardrails/test_custom_code through bytecode rewriting. This is the fourth LiteLLM vulnerability to enter KEV in 2026. A chain published by Obsidian Security shows that CVE-2026-47101 and CVE-2026-47102 can let a default low-privilege user escalate to proxy_admin, after which this vulnerability completes code execution.
Review the fourth LiteLLM gateway vulnerability to enter KEV within a year, and provide actionable triage and upgrade steps given the conflicting statements about patched versions.