LiteLLM attack: a malicious release of the popular AI tool stole credentials
Attackers published LiteLLM 1.107.0 with malware that steals cloud and AI service keys. Who is affected and the steps to take.
In this article
Apps and services change often. The steps in this guide were reviewed on the date shown; if a menu doesn't match, check the official sources linked at the end. Information reviewed on .
LiteLLM, an open-source tool widely used by developers to connect their apps to different AI models (OpenAI, Anthropic, Google…), suffered a supply-chain attack on 21 October 2026: a release containing malware was published.
What happened
- According to LiteLLM's official notice, attackers compromised its release pipeline using GitHub credentials from three developers.
- They published version 1.107.0 to PyPI (the Python package repository) and Docker.
- That version contained compiled malware that steals credentials and loads tools to run code remotely. TechCrunch reports it targeted cloud keys, passwords and AI service credentials.
- The PyPI packages were live roughly between 11:39 and 13:23 UTC that day; the compromised Docker images for longer. The affected releases have been pulled.
- LiteLLM says all previous versions are safe and its private enterprise release was not affected. The incident is contained, but the investigation is ongoing.
Am I affected?
Only if you installed or deployed LiteLLM 1.107.0, including Docker images built during that window. If you don't know what LiteLLM is, it almost certainly doesn't affect you.
What to do if you use it
- Check your installed version (
pip show litellm) and your Docker images. - If you have 1.107.0, remove it and roll back to an earlier safe version.
- Rotate every credential that environment could access: AI API keys, cloud keys, passwords and tokens.
- Check your services' access logs for unusual activity.
- Follow LiteLLM's official notice, which may be updated.
The lesson
Supply-chain attacks (infecting a legitimate tool to reach its users) are increasingly common. Pin exact dependency versions, enable two-factor authentication on GitHub and package registries, and don't keep production keys on development machines. More tips on working safely with AI in coding with AI: best practices.
Sources and documentation
- Security incident Oct 21, 2026 — LiteLLM
- The internet is having a very bad cybersecurity day — TechCrunch
- litellm
- security
- artificial intelligence
- supply chain
- news