Upgrade LiteLLM to 1.100.4 or later today

LiteLLM flaw let any internal user become proxy admin and run commands via MCP · Security incident · GitHub Advisory · BerriAI · Oct 27, 2026

What happened

A GitHub-reviewed advisory for LiteLLM (CVE-2026-114612, published 27 Oct) says the proxy used one encryption key both to seal stored secrets and to mint session tokens. A user with ordinary internal_user access could get the proxy to encrypt a forged admin credential, replay it as a bearer token and become proxy_admin, including running commands on the host through the MCP stdio endpoint. Versions after 1.91.0 were exploitable in the default setup; fixes are in 1.100.4, 1.101.3, 1.102.2, 1.103.1 and 1.104.0-rc.2.

How to prevent it

Keep AI gateways on the latest patch release, give as few people as possible any account on the proxy, and treat every user with access as able to reach its stored keys until you've patched. See our API key guide.

Fix prompt for your own AI tool

Copy this into your own AI tool (Cursor, Lovable, Claude Code, Bolt…). It's general guidance written by us. Review what the AI suggests before applying it.

I run a LiteLLM proxy for my app. Help me check and fix CVE-2026-114612: 1) Show me how to find my installed litellm version (pip show litellm, Docker image tag). 2) If it is 1.91.0 or later and below 1.100.4 (or the other fixed versions 1.101.3, 1.102.2, 1.103.1), give me the exact upgrade command for my setup. 3) List every user with internal_user access and remove anyone who doesn't need it. 4) After upgrading, rotate my master key and any provider keys stored in the proxy.

Why this keeps happening: trusting agents & ai input

An AI agent treats everything it reads as possible instructions: a web page, a README, an email, a code comment or the output of another tool. If that content was written by an attacker, the agent can be steered into running commands, reading files or sending data somewhere it should not.

A quick checklist before you ship

More on this: every trusting agents & ai input story and our related guide.

Tools involved

LiteLLM stories

Related stories

Source: original post on GitHub Advisory ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.

The Honest Build. Real stories, not hype.

Every week: real stories of what building with AI actually took, the one lesson worth keeping, and the security slip-ups to avoid. Free, unsubscribe anytime. Weekly, every Friday.