Skip to main content
MalwarePublished Updated

litellm (PyPI) · Malicious Code

Affects litellmSource GCVE Database

0

Malicious package : remove litellm and rotate any secrets on hosts that installed it.

Data as of 29 Oct 2026, 18:08 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-2144

What to do

Remove litellm from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
PyPIlitellmAffected
  • =1.82.7
  • =1.82.8
  • =1.107.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The litellm Python package versions 1.82.7, 1.82.8, and 1.107.0 distributed via PyPI contain malicious code injected during build or upload. This code includes a credential stealer that collects a wide range of sensitive data such as browser passwords, cloud credentials, SSH keys, and developer tool configurations, encrypts it, and exfiltrates it to an attacker-controlled server. Additionally, a backdoor is installed that fetches and executes remote code periodically, enabling remote code execution. Versions 1.106.2 and 1.107.0 release candidates are not affected. Any environment with version 1.107.0 installed should be considered compromised and credentials rotated.

References

Community reviews

Loading reviews…