Edition of Sat 28 Nov 2026 UTC Free to read. No paywall. RSS · X
Infrastructure Intel

Crypto and AI agent infrastructure, read by a network architect. No hype. No shilling.

Agent Trust

One CVE Number, Two Different LiteLLM Bugs

By · · 5 min read

Google has described the LiteLLM flaw on CISA's exploited list twice, and the two descriptions point at different endpoints and different starting privileges. If you patched to the version in the vendor advisory, you may not have closed the path Google watched an attacker use.

$1Min fraudulent charges at some organizations before access was revoked, per Mandiant

Yesterday I wrote about the LiteLLM flaw CISA added to its exploited list. I said CISA’s entry doesn’t say who is exploiting it, and that the bug needs an admin credential to reach.

Both of those are still true of the vendor’s record. But Google has published two accounts of an attacker using this CVE, and I should have had them in that piece. They change the patching advice, so this is the follow-up.

What Google said, twice

On November 2, Google’s Threat Intelligence Group and Mandiant published a report on what they call LLMjacking, which is stealing an organization’s access to AI models and running up its bill. In one intrusion, they say an attacker who already held ordinary LiteLLM keys did this:

“The actor exploited a user ID rebind vulnerability in the /key/regenerate endpoint (CVE-2026-40217) to elevate standard Virtual Keys into full PROXY_ADMIN master administrative credentials.”

On November 16, Google’s AI Threat Tracker described what reads as the same event differently:

“We also observed a threat actor exploit CVE-2026-40217, a sandbox escape in LiteLLM that allows an attacker to elevate limited-access inference keys (‘Virtual Keys’) into full administrative credentials.”

A Virtual Key is the low-privilege key a LiteLLM gateway hands to an application. So both sentences say the attacker went from a low-privilege key to full admin. One says it happened through a key regeneration endpoint. The other says it was a sandbox escape.

What the vendor says the CVE is

LiteLLM’s advisory and the original X41 D-Sec write-up agree with each other. CVE-2026-40217 is the sandbox escape at /guardrails/test_custom_code, and reaching that endpoint “requires a proxy-admin credential in default configurations.”

That’s a bug that takes you from admin to root on the host. It doesn’t take you from a Virtual Key to admin. On the vendor’s record, neither of Google’s sentences describes it correctly. The first has the wrong endpoint, and the second has the right bug doing something it doesn’t do.

Where the other half may be

There’s a third record that the coverage I’ve seen leaves out. In June, Obsidian Security published research on a chain of three LiteLLM flaws. One of them is CVE-2026-40217. The other two have their own numbers.

  • CVE-2026-47101. LiteLLM stored caller-supplied route permissions without checking them, so a non-admin could create a key with access to admin-only routes. Obsidian says the same unchecked write was in every key-writing handler, and it names /key/regenerate as one of them.
  • CVE-2026-47102. The user update endpoints didn’t protect the role field, so a lower-privileged user could make themselves proxy_admin.

Obsidian describes the chain as taking a low-privilege user to admin and then to code execution on the host.

So here’s my reading, and it is only a reading. Google’s incident responders saw an attacker go from a Virtual Key to admin through a key endpoint, which sounds like the 47101 family. Somewhere between the incident and the two reports, that got filed under the number for the sandbox escape. It’s also possible the attacker used the whole chain and the reports compressed it. Google’s “user ID rebind” wording doesn’t exactly match Obsidian’s description either, so it could be something else again.

Nobody has reconciled these in public. I’m not going to pretend I can.

Why it matters for patching

The vendor advisory for CVE-2026-40217 says to upgrade to 1.83.11. That closes the sandbox escape.

Obsidian says the fixes for the privilege escalation flaws landed across several changes, and that LiteLLM v1.83.14-stable, released April 25, “closes the entire chain.”

If you read the CISA entry, followed the vendor advisory and stopped at 1.83.11, you fixed admin-to-root. Whether you fixed key-to-admin depends on which bug Google’s attacker used, and the public record doesn’t say. The safe move is cheap:

  • Upgrade to a current LiteLLM release, and at minimum 1.83.14. Don’t stop at the version named in the CVE’s advisory.
  • Block POST /guardrails/test_custom_code at your reverse proxy until you’ve upgraded.
  • Look at your logs for calls to the key endpoints (/key/generate, /key/update, /key/regenerate) and the user update endpoints that nobody on your team made.
  • If you find any, rotate the master key and every provider key behind the gateway.

Why attackers bother

Mandiant’s numbers explain the interest. It saw fraudulent charges “exceeding $100,000 USD in a single day,” with totals at some organizations “reaching $1 million USD before access was revoked.” One actor made more than 500,000 API calls in under eight hours through a resale service and passed nearly a million dollars in costs to the victim.

The report also describes the market on the other side. “LLM Mixers” are gateways run by criminals that pool stolen access and resell it to subscribers. A compromised company gateway is good stock for that business, because one gateway holds the provider keys for every application behind it.

Google’s own advice in the same report is to bring model gateways into your vulnerability management program and patch them fast. I’d agree, and I’d add what this episode shows. A CVE number is a label somebody typed. When two reports from the same team attach one label to two behaviors, patch for both and wait for the correction.

David Cooper, CCIE #14019

I build Sigvara, a reputation and bonding layer for AI agents that has its own token, so weigh my read accordingly. Educational, not financial or legal advice. Views are my own.

Sources