On October 21, 2026, a tampered release of LiteLLM, the open-source gateway that routes AI traffic for thousands of companies, sat on PyPI for roughly two hours before anyone pulled it. In that window it reached an estimated 49,000 downloads and quietly installed a credential stealer on every machine that ran it.

Key Takeaways
  • v1.107.0 carried a credential stealer and backdoor, live on PyPI October 21, 2026, 11:39 to 13:23 UTC.
  • Attackers used three stolen GitHub CLI OAuth tokens, traced to a key left exposed since May.
  • This is LiteLLM’s second 2026 breach; “2,500+ companies” refers to the earlier March incident, not this one.
  • Last safe version: 1.106.2. Anyone who ran 1.107.0 should rotate every reachable credential.

The slides embedded below cover this same incident as a ready-made deck, built by AskDeck from a short brief. Back to the breach itself.

Swipe or scroll sideways to flip through the 15-slide deck →

What actually happened on October 21?

Attackers compromised LiteLLM’s release pipeline and published a poisoned v1.107.0 to PyPI and to the project’s Docker and GitHub Container Registry images, according to LiteLLM’s own incident report. The package stayed live on PyPI from 11:39 to 13:23 UTC and on affected Docker tags until 14:20 UTC, about two hours. Researchers estimate the PyPI release alone was downloaded over 49,000 times before removal, a small fraction of LiteLLM’s normal footprint: the project typically sees about 23 million downloads a week.

How did attackers get into the release pipeline?

The intrusion traces back to a basic hygiene failure, not a zero-day. According to LiteLLM’s detailed attack-chain writeup, an administrative key to an internal tool was accidentally committed to a public repository in May and never revoked. In October, the attacker used that leftover key to pull a GitHub CLI OAuth token belonging to an organization owner, then ran throwaway workflows that exfiltrated two more maintainers’ tokens. On release day, one stolen token disabled branch protections and pointed the build at a lookalike source repository, a second approved the production release, and a third deleted the workflow logs to slow investigators down. That lookalike repo differed from the real one by a single hyphen, easy to miss in a build log.

What does the malicious release actually do?

Once installed, the payload runs the moment Python starts, whether or not an application ever imports LiteLLM. Microsoft’s October 23 technical analysis found that the compromised wheels dropped three files into Python’s startup path: one that triggers automatically at interpreter launch, a credential collector, and a loader. Developer workstations, CI runners, and containers could all execute the code without anyone running LiteLLM directly.

The stealer is tuned for what an AI gateway holds. It targets cloud credentials, SSH keys, browser logins, and the API keys stored inside LiteLLM’s own proxy database, encrypting everything it finds with AES-256 and an embedded RSA key before sending it to an attacker-controlled domain built to look like LiteLLM’s real one. A second component checks an hourly dead-drop for instructions to download and run more code; researchers found it empty at the time, but the mechanism stays re-armable.

Is this the breach that exposed 2,500 companies?

No, and that mix-up is already spreading. The 2,500-company, 434,000-pipeline figure comes from a CloudSEK analysis of a separate, earlier LiteLLM compromise in March 2026, when a poisoned security scanner reached LiteLLM’s build pipeline and produced malicious releases tied to a group CloudSEK calls TeamPCP. That incident’s packages were live for about 40 minutes. October’s compromise is a different attack entirely, built on stolen developer credentials rather than a poisoned upstream tool, which is why Help Net Security flatly called it LiteLLM’s second supply chain attack of the year.

Who needs to act, and what should they do?

Anyone who pulled an unpinned LiteLLM install or a floating Docker tag during the compromise windows should treat that environment as compromised. Enterprise customers pulling from LiteLLM’s private registry were not affected. Everyone else should resist the instinct to simply reinstall: starting Python or pip in an infected environment re-triggers the stealer, so hosts and images need rebuilding from clean sources, not patching. After that, rotate every credential the process could reach, down to cloud IAM roles and database passwords. The risk is not theoretical: researchers at Wiz observed stolen AWS credentials being tested against Amazon’s Bedrock service about four and a half hours after data left victim systems.

Common questions

What’s the last safe version of LiteLLM? Version 1.106.2, published before the compromised release. LiteLLM has told users to pin to that version or any explicitly earlier one.

Does removing the package fix an infected machine? No. The malicious files sit outside the normal package folder and restart with any Python process, so affected hosts and containers need to be rebuilt rather than cleaned in place.

Incidents like this move fast across a dozen vendor write-ups, which is exactly why a clear reference helps. The example deck below, built with AskDeck from a short brief, lays out this same attack chain and response checklist slide by slide, and it can be downloaded and edited for an internal briefing.

Download the editable slides (.pptx) →

Make your own deck with AskDeck →