Plan this weekVulnerabilities

LiteLLM sandbox escape listed by CISA as exploited (CVE-2026-40217): check your proxy version and who holds the admin key

A flaw in the custom-code guardrail test endpoint of the LiteLLM proxy lets someone with an admin credential run code on the server, as root in the default Docker image. CISA added it to its Known Exploited Vulnerabilities catalog on 18 November 2026.

How urgent

Plan this week

Who is affected

LiteLLM proxy from 1.81.8 up to the fix, according to the GitHub advisory

What to do

Update to a current release (1.106.9, 1.108.6, 1.109.1 or later, which also covers newer advisories), protect the admin and master keys, and block POST /guardrails/test_custom_code if you cannot update

Published 3 Dec 2026 · Sources last checked 3 Dec 2026No. 160 / 168

What happened

The LiteLLM proxy, a gateway many teams put in front of their AI model providers, has an endpoint for testing custom guardrail code: POST /guardrails/test_custom_code. The restrictions around that code could be bypassed, so Python sent there could run commands on the server, as root in the default Docker image. X41 D-Sec published the finding on 8 April 2026.

On 18 November 2026 CISA added CVE-2026-40217 to its Known Exploited VulnerabilitiesVulnerability A weakness in software, a setting or a process that an attacker could use to get in or do harm. Tap again to open the glossary catalog, which means it has evidence of real-world exploitation. The entry does not say who is exploiting it or how. We are covering it late.

Who has to act

Anyone running an affected LiteLLM proxy. According to the GitHub advisory, reaching the endpoint requires a proxy-admin credential in default configurations, so a leaked or shared admin or master key matters a lot. NVD lists a score of 8.8 (high).

The fixed version: the advisory says two things

The GitHub advisory's version field says the fix is 1.83.10, and it links that release; its text says "fixed in 1.83.11" and to upgrade to 1.83.11 or later. You do not need to settle it: LiteLLM published newer advisories since then, and the 12 November one points to 1.106.9, 1.108.6, 1.109.1 or later. Go there.

What to do

  1. Update to a current release. Avoid 1.107.0, the poisoned release of October.
  2. If you cannot update yet, block POST /guardrails/test_custom_code at your reverse proxy or API gateway.
  3. Check who holds the master and admin keys, and rotate them if they have been shared or exposed.
  4. Keep the admin interface off untrusted networks and do not run the container as root.
  5. Our advice: if the proxy was exposed, look in your logs for requests to that endpoint and consider rotating the provider keys the proxy holds.

What we could not confirm

We have not found details about the exploitation CISA refers to. We did not test the flaw.

Glossary: vulnerability, patchPatch (security update) A fix released by the maker of a piece of software to close a flaw or a bug. Tap again to open the glossary, API key.

Keep reading

More stories on the same topic or from the same area.

Comments

No account needed. Add a nickname if you like, or leave it empty to comment anonymously. Comments are reviewed before they appear. Links are not allowed.

    We store your comment, your nickname and a scrambled form of your connection that we use only to limit spam. We do not store your IP address or set cookies. Cloudflare Turnstile checks that you are not a bot.

    Sources and verification

    We use primary sources first and say when we rely on a news report. Dates are the day we last checked each source.

    Spotted a mistake? Email [email protected] and we will correct it and note the change.

    Newsletter · every Friday · free

    Get the weekly security briefing

    One email every Friday: what to act on now and what to plan this week, in plain words. The free one-page runbooks come in your welcome email. You confirm your address first.

    Subscribe for free

    Press / to search from any page