CISA Lists LiteLLM Guardrail Flaw as Exploited, 217 Days After Honeypots First Saw It
Security / news
CISA Lists LiteLLM Guardrail Flaw as Exploited, 217 Days After Honeypots First Saw It
CVE-2026-40217 needs a proxy master key, and Zenity's sensors logged guessed keys such as sk-1234 within five days of disclosure.

An attacker who holds a valid LiteLLM proxy master key (including a default such as sk-1234) can run code on the server through the /guardrails/test_custom_code endpoint, and CISA now lists that flaw as exploited. The agency added CVE-2026-40217 to its Known Exploited Vulnerabilities catalog on November 18, 2026, with a December 2 deadline for federal civilian agencies. The fix is LiteLLM 1.83.10 or later, according to Zenity Labs.
CISA's entry describes an "unprotected alternate channel" in BerriAI's LiteLLM that lets remote attackers execute arbitrary code via bytecode rewriting. The National Vulnerability Database scores it 8.8 with a vector that requires low privileges (PR:L), published April 10, 2026. CISA marks known ransomware use as "Unknown" and does not require forensic triage for this entry.
What an attacker needs
The score reads as a low-privilege bug, and Zenity Labs researchers Avishai Efrat and Ayush RoyChowdhury found the real precondition is the proxy master key. In a June 30 write-up they said the official Docker image runs as root, so a successful sandbox escape gives root-level code execution. LiteLLM also ships a non-root image variant.
The endpoint runs user-supplied Python behind a text deny-list that blocks words such as "import" and "globals". Zenity said attackers build the blocked names at runtime by string concatenation and reach the real __import__ through generator and coroutine internals.
217 days from first probe to catalog entry
Zenity's honeypot sensors recorded 569 POST requests to the endpoint between April 15 and May 24, 2026. They included 47 distinct guessed bearer keys (sk-1234, sk-admin, sk-changeme) and 64 requests with empty Authorization headers. A burst of 520 identical capability probes arrived on April 15, five days after disclosure.
Payloads in May fell into two working categories: dumping process environment variables filtered for secret-like names, and launching shell commands in the background so they outlive the endpoint's roughly 5-second timeout. Zenity could not tie the traffic to one actor. Six of the eight source IPs also appear in its separate LiteLLM findings.
From the first probe on April 15 to CISA's listing on November 18 is 217 days.
| CVE | Flaw | CISA added | Federal due |
|---|---|---|---|
| CVE-2026-42208 | SQL injection in key verification | 2026-05-08 | 2026-05-11 |
| CVE-2026-42271 | Command injection by authenticated users | 2026-06-08 | 2026-06-22 |
| CVE-2026-59822 | Improper authentication, MCP endpoint | 2026-09-02 | 2026-09-16 |
| CVE-2026-40217 | Bytecode-rewriting code execution | 2026-11-18 | 2026-12-02 |
All four are BerriAI LiteLLM entries in CISA's catalog, which held 1,792 vulnerabilities when this was filed. Our earlier piece set an exploit-timing claim against CISA's 2026 catalog data.
The rest of the November 18 batch
CISA added three other flaws the same day, according to The Hacker News.

Apache Axis 1.x (CVE-2026-90436, CVSS 9.8) allows unauthenticated code execution and is end-of-life. Vanderbilt's REDCap (CVE-2026-90817, 9.8) needs a valid public survey hash. Synology DSM (CVE-2024-10441, 9.8) was exploited in ransomware attacks that deployed C3RB3R, per the same report. The Axis, REDCap and DSM deadline was November 21.
The Hacker News also reported that Google Threat Intelligence Group saw attackers turn limited-access inference keys into full administrative credentials through the LiteLLM flaw, linked to LLMjacking. We did not fetch that report and treat the detail as single-source.
What to do
Upgrade LiteLLM to 1.83.10 or later, replace any default or guessable master key, keep the control plane off the public internet, and run the proxy as a non-root user. Alert on any external POST to /guardrails/test_custom_code. If a key was ever guessable, rotate every provider key the proxy holds. For another case of a cloud-managed device turned into a malware host, see the GL.iNet router and KVM notice.
Sources
More in Security
- 01India's Home Ministry Tells WhatsApp Web Users to Log Out After Each Session: What the Advisory SaysThe November 18 I4C advisory describes account misuse through open sessions; the claims circulating around it are unverified.
- 02Gentoo Packager Says Security Work Is Breaking Downstream, and curl's 87-Bug Bounty Data Backs the FloodMichał Górny's October 27 post offers no counts; Daniel Stenberg's curl figures show confirmed reports falling from above 15% to below 5%.
- 03CERT-In Warns of AI Agent Attacks That Rewrite Payment Records Using Valid CredentialsThe November 20 advisory is the fourth in six weeks, and MediaNama and Inc42 are the only accounts of it we could read.
- 04MoEngage Breach Through a Vendor Account Exposes WazirX and ZebPay User DataMoEngage says fewer than 1 percent of customer accounts were hit, but it has not named the vendor or said when it contained the intrusion.