LiteLLM said its release pipeline was compromised early on October 21 and pushed v1.107.0 to PyPI and Docker registries with malware that steals credentials and loads remote code execution tools; the PyPI package was live from about 11:39 to 13:23 UTC and Docker tags including v1.107.0 and latest were tainted from 11:46 to 14:20 UTC [1]. Microsoft's analysis says the malware runs automatically via Python startup mechanisms and collects developer, cloud, browser, SSH and environment credentials, and that, per LiteLLM maintainers, stolen developer GitHub credentials were used to redirect the release workflow to a lookalike repository [2]. Anyone who installed 1.107.0 or ran affected images should treat the environment as compromised: delete cook.pth, cook.py and sitecustomize.py from the shell, kill the daemon, reinstall pinned litellm==1.106.2 and rotate every key the host could reach [1].
LiteLLM release pipeline compromised; version 1.107.0 on PyPI and Docker carried credential-stealing malware for about two hours
2 min readLast updated
30-second summary
What happened
Who is affected
Industries mainly affected: Technology, Cross-industry
What to do nowOur advice
- Check your version with pip show litellm and search for litellm-1.107.0.dist-info, cook.pth and sitecustomize.py [1].
- Do not start with pip; delete cook.pth, cook.py, sitecustomize.py and matching pyc files from the shell and kill the detached python daemon [1].
- Reinstall pinned litellm==1.106.2, ideally rebuilding images and venvs [1].
- Disclosed
- Oct 21, 2026
- Occurred
- Oct 21, 2026
- Published
- Nov 11, 2026
- Last updated
- Nov 11, 2026
- CVSS basis
- Our assessment
- Technology
- Attack vector
- Impact
- Data type
- Actor type
- Motivation
- Language / package ecosystem
On this page
Timeline
Technical details
What Happened
LiteLLM stated that in the early morning of October 21, its release pipeline was compromised, and version v1.107.0 pushed to the Docker registry and PyPI contained compiled capable of stealing credentials and loading tools [1]. The litellm==1.107.0 package on PyPI was published from approximately 11:39 to 13:23 UTC, and tags including v1.107.0, latest, main-latest, and main-stable on Docker Hub and GHCR were tainted starting at 11:46 UTC; official source code tags on GitHub do not contain the malicious files [1].
Attack Vector
Microsoft's analysis indicated that the malicious package utilizes Python startup mechanisms to execute automatically, triggering even if the system does not actually use LiteLLM gateway features. It collects developer and cloud credentials, browser data, SSH keys, environment variables, and LiteLLM database information [2]. According to LiteLLM maintainers, attackers used stolen developer GitHub credentials to modify the release workflow, redirecting it to a spoofed repository Berri-AI/litellm [2].
Scope of Impact and Response
The affected packages and images have been removed, all prior versions are secure, and private enterprise editions are unaffected [1]. LiteLLM requires affected users to treat their environment as compromised: delete malicious files from the shell, terminate resident processes, reinstall pinned version 1.106.2, and rotate all keys accessible to the host. Microsoft also reminded users that merely removing the package is insufficient for complete remediation [1].
Remediation
References
Official / primary1
- [1]
“In the early morning of October 21, LiteLLM's release pipeline was compromised and pushed v1.107.0 to the docker registry and PyPi. This version contained compiled malware which steals credentials and loads remote-code execution tools.”
Research1
- [2]
Found this useful?
Pass it to whoever runs these systems so they can patch in time.
This site aggregates public information and is not security consulting advice. Test remediation steps before applying.