LiteLLM 1.107.0 compromised: malicious PyPI/Docker builds steal credentials, deliver RCE

randal_olson · x · 2026-10-24

LiteLLM disclosed that malicious 1.107.0 artifacts were published to PyPI, Docker Hub, and GHCR around 4:40 a.m. PDT, containing a cook.pth credential stealer plus a sitecustomize RCE loader, built from a lookalike repo (Berri-AI/litellm). The malicious releases were removed after detection at 6:32 a.m.; enterprise deployments pulling only from the private registry are unaffected.

Anyone who installed or ran the compromised versions should follow the remediation guidance in GitHub issue #47826 and treat accessible credentials as exposed. Commenters note the blast radius of such a widely-used library makes this a serious supply-chain incident.

Related event: LiteLLM release pipeline hacked, v1.107.0 shipped malware(4 posts)→

Original post →

More from Safety

Safety channel →