CISA adds LiteLLM guardrail sandbox escape to KEV, and it starts with a proxy-admin key
CISA added CVE-2026-40217 to KEV on November 18. LiteLLM's custom-code guardrail test endpoint ran Python in a hand-rolled sandbox that bytecode tricks escape, giving code execution as root in the default image. Reaching it needs a proxy-admin credential by default. Fixed in 1.83.11; federal deadline December 2.
CISA added CVE-2026-40217 in the LiteLLM AI gateway to its Known Exploited Vulnerabilities catalog on November 18, with a December 2 deadline for federal agencies. LiteLLM's advisory, first published in May, explains that POST /guardrails/test_custom_code runs user-supplied Python inside a hand-rolled sandbox that "can be escaped using bytecode-level techniques," giving arbitrary code execution in the proxy process, "which runs as root in the default Docker image." The advisory adds that "reaching the endpoint requires a proxy-admin credential in default configurations." It is rated CVSS 8.8 and affects versions 1.81.8 up to 1.83.10. LiteLLM says to upgrade to 1.83.11 or later, where the sandbox is replaced with RestrictedPython, or block the endpoint at a reverse proxy. CISA has not said how it is being exploited.
Why it matters
The precondition is the identity story. In September, Wiz found 294 exposed gateways still accepting sk-1234, the documentation's example admin key, and 191 with no key at all, which LiteLLM treats as full admin. On those, "requires a proxy-admin credential" means no barrier. And LiteLLM's own October breach started with an admin key that was deleted from a repo but never revoked.
Upgrade, then treat the master key as the root credential it is: a long random value, stored in a secrets manager, rotated after the upgrade, never shared with applications, which should get scoped virtual keys instead. If a gateway ran an affected version with a default or shared key, assume the provider API keys it holds were exposed and rotate them; this is static API key abuse one hop removed.
Source: LiteLLM advisory GHSA-wxxx-gvqv-xp7p, CISA KEV catalog
Related on Start with Identity
- BlogCISA adds the last two Ivanti Connect Secure chain flaws to KEV after Ivanti's October 29 patch
CISA added Ivanti Connect Secure CVE-2026-111357 and CVE-2026-118527 to its exploited list on October 30, a day after Ivanti patched the root escalation UTA0576
- BlogOne webpage let researchers escape Meta Muse's agent sandbox and reach its credential store
NebuSec chained a Chromium flaw in Meta Muse's document browser with a Linux kernel escape to get root on a user's agent VM, exfiltrate memories without an appr
- Blog4,837 hijacked GitHub accounts planted a CI secret stealer that adds cloud federated credentials
Aikido said on November 12 that an attacker used 4,837 compromised GitHub accounts from November 10 to plant a stealer that ran in at least 1,806 repositories,
- CVEtj-actions/changed-files tags repointed to dump CI secrets into logs
An attacker repointed tj-actions/changed-files version tags to a commit that read the GitHub Actions runner's memory and printed its secrets into workflow logs.
- CVETrivy release and GitHub Action tags hijacked to steal CI secrets
With credentials left valid by a non-atomic rotation, an attacker shipped a malicious Trivy v0.69.4 and repointed 76 of 77 trivy-action tags to code that dumped
- CVELiteLLM MCP gateway accepts any Bearer token after key validation fails
LiteLLM's MCP Streamable HTTP endpoint fell back to an empty auth object when key validation failed, so a fabricated Authorization header reached the gateway's