Contained: Oct 21, 2026 LiteLLM release v1.107.0 Compromised
Status: Incident contained, investigation in progress
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
Status: Incident contained, investigation in progress
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. All previous versions are safe, and the impacted releases have been pulled. Customers running the private enterprise release of LiteLLM were not impacted.
Update (20:30 UTC): We believe we have identified the attack chain which facilitated this attack. The attacker had to compromise multiple independent security controls to be successful. See How this happened below.
At 4:00 AM PST 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. All previous versions are safe, and the impacted releases have been pulled.
The following LiteLLM artifacts were impacted:
The official v1.107.0 source tag in GitHub does not contain the malicious files. The compromised artifacts were built from an attacker-controlled repository.
If you installed or ran any of these artifacts, review the recommendations below immediately.
Note: These artifacts have already been removed from PyPI, Docker Hub, and GHCR.
You are affected if you used an unpinned version of LiteLLM between 11:39 and 13:23 UTC via pip or if you used the docker image v1.107.0, latest, main-latest, or main-stable between 11:46 and 14:20 UTC.
If you ran pip install on LiteLLM v1.107.0 or started the docker image in the compromised interval, assume it is compromised.
For the time being, please pin your version to 1.106.2 or any explicit version published prior to now.
There currently exists a private LiteLLM registry for enterprise customers, in which we are distributing an embargoed release that remediates a vulnerability whose disclosure date is scheduled for October 27. Our private registry is not affected. If you are an enterprise customer pulling from our private registry you are not affected.
If you ran pip install on LiteLLM v1.107.0 or started the docker image in the compromised interval, assume it is compromised.
We will be posting more detail on how specifically to find indication of compromise. For now, you can find details of the attack and our initial responses in this GitHub Issue.
These instructions are courtesy of LidorMachluf, who helped us to detect this incident.
Don't start with pip install. Any Python start in the affected environment runs cook.pth and sitecustomize.py again, and that includes running pip.
After the prior incident in March, we meaningfully hardened our CI release pipeline. We moved releases to a private repo, have a strict set of workflows used in order to create them via Trusted GitHub Publishers, made our docker release tags immutable, and are signing docker images.
After a thorough investigation, we have observed specific situations in which Claude Code will embed a user's GitHub CLI OAuth token into a response body, and in situations where response bodies are logged, these tokens may appear in LiteLLM logs.
We identified an unexpected, innocuously named user account in our internal LiteLLM deployment, which was exposed to the public internet. We believe the attacker gained access to this deployment, obtained the GitHub CLI OAuth tokens from its logs, and subsequently used those credentials to compromise our release workflow.
We have not yet confirmed how the attacker gained access to our internal deployment, but currently suspect it was through a recently patched vulnerability.
We are still working on confirming some of the above, and identifying a timeline. We will post additional details as we discover them.
We will publish a new status update two hours from now at 22:30 UTC.
We will keep this post updated with the most recent information, and continue to update every two hours. Our next update will be at 22:30 UTC.
We have already taken the following steps:
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。