One link nobody watches
LiteLLM is a proxy. For those who don't know it, it sits in front of your AI models so the application always calls the same door and the proxy decides which provider gets each request.
On paper it is very convenient. In practice, it is a poisoned candy.
Because the proxy speaks on behalf of the application, it stores the keys of absolutely every provider it serves.
A flaw there doesn't burn one API key, it empties the whole keyring.
CVE-2026-40217 lives precisely in the guardrails tester, the feature meant to test rules before pushing them to production.
The sandbox that should isolate it leaks and allows remote code execution (Source: labs.zenity.io).
From that moment on, every provider credential is served on a silver platter to whoever pulled the trigger.
Why is it still in the KEV catalog?
CISA keeps this CVE in its Known Exploited Vulnerabilities (KEV) catalog.
That is not a decorative medal or a preventive warning, it means someone is exploiting it out there right now, not just researchers playing with a PoC.
The patch exists and has been available since version 1.83.11 (Source: labs.zenity.io).
But the question that should really make your gums bleed is not whether there is a patch. It is how many instances still run old versions under the sacred corporate law of «if it works, don't touch it».
A model proxy rarely shows up in the critical asset inventory. I would dare say it isn't even deployed in most small businesses.
It usually lives at the edges, dropped in a container or on a machine someone spun up on a Friday so the data team could run tests. And there it stays, gathering binary dust and going unpatched for months.
The picture of the month
This week left us two more gems that confirm where this is heading.
The FBI confirmed that the incident in two systems of the Cook County court, in Illinois, is ransomware. The court clerk admitted it on December 1 without saying a word about scope or a recovery date (Source: news.wttw.com).
Microsoft documented six state groups (among them Storm-0940 and Salt Typhoon) using the agentic framework ARTEX. In several cases they went from initial access to elevated privileges in under three hours (Source: microsoft.com).
The board has changed. Hardening the server that faces the internet is no longer enough. If you leave open the middle piece that holds the keys to the rest of your infrastructure, the rest of your defense is pure theater.
What would I check?
The proxy version. Check whether your LiteLLM is on 1.83.11 or higher. If you don't even know which version runs on your network, you already have homework.
The key inventory. Every provider that goes through there has its credential stored inside. Make the list and ask yourself what blast radius each one has if it leaks.
Who touches the tester. The hole is in the guardrails tester. If you don't use it, kill it or disable it.
How I would test it in my lab
I would spin up a vulnerable LiteLLM in an isolated container with a test key from a cheap provider and fire a rule against the guardrails tester designed to break the sandbox.
I would look at one thing only, whether the process spits out the environment variable with the key or dies returning a controlled error.
The conclusion is no mystery, because if the key comes out, that proxy stops being "a tool for the data team" and becomes a credential store with the door blown open. And that completely changes the place it occupies in my inventory.
A model proxy is a safe with the keys to all your providers inside. Patching it is not routine maintenance; it is closing the door before they empty your house.
Originally published at https://sammideblas.com/notas/litellm-proxy-flaw-hands-over-every-provider-key


