LiteLLM Flaw Joins CISA Exploited List as AI Gateways Become LLMjacking Targets
The US Cybersecurity and Infrastructure Security Agency added the LiteLLM flaw CVE-2026-40217 to its Known Exploited Vulnerabilities catalog on Nov 18, giving federal agencies until Dec 2 to fix it.

What happened
The flaw sits in the LiteLLM proxy’s /guardrails/test_custom_code endpoint, which tests custom guardrail code: its hand-rolled sandbox can be bypassed with bytecode rewriting, letting an attacker run arbitrary code inside the proxy process, as root in the default Docker image.
A Google Threat Intelligence Group report shows attackers used the flaw to elevate limited inference keys into full administrator credentials and establish persistence, as part of LLMjacking attacks against financial services, retail, transportation and technology organizations. Affected versions run from 1.81.8 to before 1.83.10; the fix in 1.83.11 replaces the hand-rolled sandbox with RestrictedPython.
The patched release has been available since April, so the KEV listing means unpatched deployments are still being exploited. The same batch added flaws in Synology DSM, Apache Axis and REDCap; three carry a Nov 21 federal fix deadline, while LiteLLM’s is Dec 2.
Key facts
- ID and score: CVE-2026-40217, CVSS 3.1 score 8.8; the weakness is an unprotected alternate channel (CWE-420).
- Affected versions: LiteLLM 1.81.8 to before 1.83.10; fixed in 1.83.11 and later.
- Exploitation: Python code submitted to /guardrails/test_custom_code escapes the sandbox via bytecode rewriting.
- Fix deadline: US federal agencies must fix it by Dec 2, 2026; three flaws in the same batch are due Nov 21.
- Workaround: If an upgrade is not possible yet, block POST /guardrails/test_custom_code at the reverse proxy.
Why it matters
An AI gateway concentrates provider keys and call permissions, so one sandbox escape can turn a limited inference key into an admin credential; the fix has been out since April, and the KEV listing means deployments remain unpatched.
Follow HIMIAO Horizon
No sign-up · Unsubscribe any timeNotifications
A ping on your phone or computer when the brief is out. No email needed.
Comments
Related
- Nov 21UK AI Security Institute: Pre-Release GPT-6.2 Astra Easier to Jailbreak Than Predecessor
- Oct 31EMBRACE, Explained: How Embedded Browsers in Five AI Coding Tools Broke Basic Browser Rules
- Oct 29Z.AI's GLM-5.3 Completes Complex Cyberattack Simulations in Tests: 3 of 13 Scenarios
- Oct 13MI5 Announces AI Threat Assessment Centre as Chief Warns AI Is Supercharging National Security Threats
- Nov 4CrowdStrike Signs Two Deals in a Day to Buy Fiddler AI and Dreadnode
Today
Nov 23 Monday- Brief
- GitHubGitHub Weekly Vol.7: 7 Projects Worth a Look This Week
Tested or read — weeklyAll →
- Quiz
- Call
Latest news
All →- Nov 23GitHub Weekly Vol.7: 7 Projects Worth a Look This Week
- Nov 23Alibaba Qwen4-Max Review: Intelligence Index 43, Task Costs Down 58%, Terminal Coding Trails Kimi
- Nov 23US Intel Chief Confirms China Obtained Nvidia's Top AI Chips
- Nov 23OpenAI Chief Scientist: Perplexity Tracks Intelligence, Calls for Shared Limits
- Nov 23AI Agents Breached a Medical Imaging Server in 11 Minutes; MONAI Label Zero-Day Now Fixed
- Nov 23Tampered DeepSeek Model Served for 53 Hours; Refusals Fell From 98% to 1%
™