LiteLLM 1.107.0 Was Poisoned: If You Installed It, Rotate Your Keys Now

October 22, 2026 · 5 min read

LiteLLM is the kind of infrastructure you install once and forget: an open-source gateway that lets applications talk to many AI providers through one interface, downloaded roughly 23 million times a week. On October 21, version 1.107.0 shipped poisoned (via LiteLLM's official blog). Attackers used stolen developer credentials to bypass branch protection and alter the release process, and 7 uploaded wheel packages contained malware designed to steal cloud and AI keys, plus remote-control tooling. PyPI removed the version within hours and related Docker tags were cleaned up afterwards. The official word is that the most recent safe version is 1.106.2.

If that paragraph made you check which version you are running, good — that is the entire point of this article. If the answer is 1.107.0, stop reading the analysis and do the unglamorous thing first: treat every key that touched that environment as leaked and rotate it. Cloud credentials, AI provider API keys, anything the gateway could see. Rotation is annoying, it breaks things temporarily, and it is the only response that actually closes the hole. Forensics can wait; a stolen key does not wait for your investigation schedule.

Why this one is worse than a normal vulnerability

Most security incidents are bugs: someone finds a flaw in code that was written in good faith. This was not a bug, it was a compromise of the release pipeline itself — the machinery that decides what counts as an official release. Branch protection exists precisely to stop one stolen credential from turning into a shipped package, and here it was bypassed. That distinction matters for how you respond. With a bug, you patch and move on. With a poisoned release, you cannot trust anything that release touched, and you have to assume the attacker had the same goal you would have in their position: grab the keys, because a gateway like LiteLLM sits exactly where the keys flow through.

The blast radius of boring infrastructure

LiteLLM is not a consumer app, which is why this incident will not trend the way a chatbot outage does — and why its real reach may be larger. A gateway sits between your application and every model provider you pay for. Compromise that one component and you potentially compromise the credentials for all of them at once, across every service that upgraded promptly. The 23-million-downloads-a-week figure cuts both ways: it means the project is battle-tested and widely trusted, and it means a bad release travels fast. The saving grace here is speed — PyPI pulled 1.107.0 within hours, which limited the window, but hours is still plenty of time for automated key harvesting.

What to change after you rotate

Once the keys are rotated, three habits are worth adopting, in order of payoff. First, pin your dependency versions and upgrade on your schedule, not the moment a release appears — the users hit hardest by poisoned releases are the ones with automatic upgrades. Second, treat release provenance as a feature: signed artifacts and verified release pipelines are not enterprise luxury, they are the difference between a bug report and an incident like this one. Third, scope your keys narrowly, so that one gateway compromise does not hand over the keys to everything you own. None of this is exciting. All of it is cheaper than explaining to a cloud provider why a stranger ran up a five-figure bill on your account.

The bottom line

Supply-chain attacks keep working because they attack trust, not code. LiteLLM did the right things after the fact — fast removal, a clear statement of the safe version — but the lesson for everyone else is pre-emptive: the most dangerous package in your stack is the boring, trusted one you never think about. Check your version. Rotate if you need to. Then pin it.

Stay current: we publish a daily AI news roundup — 20 stories, plain-language summaries, no hype.