A security flaw in LiteLLM, a popular open-source gateway for AI-model requests, has been added to the US government's list of vulnerabilities exploited in the wild. The Cybersecurity and Infrastructure Security Agency placed CVE-2026-40217 in its Known Exploited Vulnerabilities (KEV) catalog on November 18, 2026. The listing gives US federal civilian agencies a remediation deadline of December 2.
The news matters beyond government systems. Many AI applications route requests through a shared proxy to handle providers, credentials and spending controls. A vulnerability in that middle layer can threaten multiple applications even when the underlying language models are not themselves compromised.
The flaw is in the gateway, not the model
According to LiteLLM's published security advisory, the issue affects a custom-code guardrail testing feature. The feature's Python sandbox could be escaped, allowing code to execute in the LiteLLM proxy process. The advisory notes that the default Docker process runs with elevated privileges, making successful exploitation particularly concerning.
There is an important condition often lost in alarming headlines: in LiteLLM's default configuration, reaching the affected functionality requires a proxy administrator credential. That does not make the issue harmless, especially if keys are compromised or administrative privileges are assigned too broadly. It does mean the advisory does not support the claim that every public LiteLLM endpoint can be exploited anonymously.
The vendor advisory lists versions from 1.81.8 up to but excluding 1.83.10 as affected, and identifies 1.83.10 and later as patched. Independent researchers at Rescana recommend moving to a more recent maintained release. Operators should check current vendor guidance and test the upgrade, rather than treating a historical minimum patch level as their complete security baseline.
What CISA's decision establishes
A KEV listing reflects evidence of exploitation, not simply a theoretical vulnerability score. It does not, on its own, identify the attackers, reveal the scale of affected deployments or establish how many organizations lost data. CISA's published entry does not attribute a ransomware campaign to this specific flaw.
Security researchers have separately discussed LiteLLM credential and privilege-escalation problems. Those reports should not automatically be presented as proof that the same sandbox escape was used in every reported incident. Distinguishing the vulnerable feature from other bugs is essential for accurate incident analysis and remediation.
The December 2 deadline is a US federal requirement, not a new globally binding law for private companies. Nevertheless, the agency's prioritization is a useful signal to any organization exposing LiteLLM to contractors, development teams or internet-connected services.
What operators should verify
First establish whether LiteLLM is actually deployed, including container images, package versions and managed installations. Review who holds proxy-admin credentials and whether that role is necessary for their work. Restrict access to the guardrail testing function if a timely upgrade is not possible; the vendor advisory specifically mentions blocking that endpoint at an upstream proxy or API gateway as a temporary mitigation.
Then plan an upgrade to a current maintained version, with compatibility testing and an audit of key use and suspicious administrative activity. A patch closes a software flaw but does not by itself revoke credentials that may already have escaped. Workloads that aggregate model-provider keys deserve particular care because compromise can affect downstream access and costs.
This is also a reminder that agent security extends beyond model behavior. Guardrails inside a prompt cannot compensate for an unsafe execution boundary around the software that handles requests and credentials.
Sources
CISA Known Exploited Vulnerabilities catalog (entry for CVE-2026-40217, added November 18, 2026); LiteLLM security advisory, May 7, 2026; Rescana's technical review, November 19, 2026.