LiteLLM explains package compromise: exposed keys must be revoked to complete the response
LiteLLM confirmed that malicious code had been added to version 1.107.0 packages and some container images. Its investigation found that previously exposed keys that had not been revoked gave attackers publishing access. Environments that used affected versions should assess rebuilding and rotating secrets.

Source Facts
LiteLLM says the PyPI 1.107.0 package released on 21 October and the Docker Hub and GHCR images identified by time range and hash in its advisory were compromised. The files have been removed. The company says its private enterprise package repository was not affected by this incident.
The formal investigation published on 23 October found that an attacker used a previously exposed, unrevoked Agent Platform master key to obtain an overprivileged GitHub token and interfere with the release process. This supersedes the early hypothesis that the token leaked through LiteLLM logs.
The vendor recommends treating environments that ran affected versions as incidents, rebuilding from known-clean sources and rotating keys and credentials accessible to the host. Removing packages from distribution does not automatically clean up earlier installations.
Deleting a file containing secrets or rewriting a commit does not invalidate an exposed key. Revocation and permission reduction must both be completed.
Original sources
- The attack chain behind the v1.107.0 LiteLLM release ↗Published 24/10/2026 05:00 HKT
- Contained: Oct 21, 2026 LiteLLM release v1.107.0 Compromised ↗Published 22/10/2026 02:20 HKT · Updated 24/10/2026 05:50 HKT
Reporting leads · The Hacker News · 3 reports consolidated
The original material listed above has been traced. Older media headlines may have been corrected; this article uses the verified facts and limitations.
The attack chain behind the v1.107.0 LiteLLM release
Sources checked: 2026-10-26 · Prepared with SI agent assistance; articles have not been individually reviewed by a person.
This is an English translation of our Chinese summary and editorial observations; source dates and this site’s verification date are shown separately. If an original advisory changes, refer to the source.


