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
- Give each agent only the tools and folders it needs for the task at hand.
- Require manual approval before it runs shell commands, sends network requests, deletes files or spends money.
- Do not open untrusted repositories or MCP configs with auto-run turned on.
- Keep API keys and production credentials out of any environment an agent can read.
More on this: every trusting agents & ai input story and our related guide.
Tools involved
Related stories
- If you run Hermes Agent with Bot Desktop inside a docker or ssh terminal backend, upgrade to 0.23.2 or later
Hermes Agent: code inside its Docker or SSH backend could set env vars on the agent's own machine, fixed in 0.23.2 - If you give an AI agent mcp-server-git, upgrade it to 2026.11.18 or later today, and don't point it at repos you haven't checked
mcp-server-git: six more ways a repo's own Git config could run commands, fixed in 2026.11.18 - Give AI assistant connectors their own scoped, short-lived tokens, never full session tokens
Mittwald's MCP server leaked customer session tokens, and an attacker used them to get into 56 hosting projects
Source: original post on GitHub Advisory ↗. Summarised in our own words; numbers are as stated by the source. Browse all stories.