Short answer: On 21 October 2026 attackers pushed a malicious LiteLLM release, version 1.107.0, to PyPI and to Docker registries. LiteLLM is an open-source gateway that many teams place between their applications and AI model providers, so it often holds provider API keys and runs close to cloud credentials. The lesson for risk teams is that an AI gateway belongs in your third-party risk management inventory with an owner, a tier and a response plan, even when it is free and self-hosted. Check whether you ran 1.107.0, treat every credential that host could reach as exposed if you did, then close the inventory gap that made the question hard to answer.
Status note. This article reflects public reporting on 21 and 22 October 2026. LiteLLM added a note on 23 October saying some assumptions in its original incident post were later found inaccurate, so check its current incident record before acting on any single detail. We describe what was reported and do not claim to have verified the root cause.
What Happened on 21 October
The table summarises what LiteLLM and three security firms reported. Where accounts differ slightly on timings, we use LiteLLM’s own post.
| Item | Reported fact |
|---|---|
| The release | LiteLLM 1.107.0 was published through the project’s release pipeline to PyPI (all seven wheels) and to Docker Hub and GHCR under the tags v1.107.0, latest, main-latest and main-stable. The last version reported safe is 1.106.2. |
| Exposure window | PyPI from about 11:39 UTC to 13:23 UTC; Docker Hub images from about 11:46 UTC to 14:20 UTC, according to LiteLLM. Anyone who installed an unpinned version or pulled a listed tag in that window should assume compromise. |
| Build source | The artifacts were built from a lookalike repository, Berri-AI/litellm, one hyphen away from the genuine BerriAI/litellm. The official source tag on GitHub did not contain the malicious files. |
| How attackers got in | LiteLLM and Datadog report stolen GitHub CLI credentials from three developer accounts. LiteLLM suspects an internet-exposed internal deployment as the source and said the investigation was continuing. |
| Behaviour | Python startup files ran a credential stealer every time an interpreter started, even if LiteLLM was never imported. Targets reported by Datadog and Help Net Security include cloud credentials, SSH and Git secrets, AI tool credentials and provider keys stored in LiteLLM proxy databases. |
| Follow-on activity | Help Net Security reported that about four and a half hours after data left victims’ systems, the attacker began validating AWS credentials and checking access to Amazon Bedrock models, which Wiz linked to LLMjacking, meaning the theft of AI compute. |
| Who was not affected | LiteLLM said enterprise customers using its private enterprise registry were not affected, and that earlier versions are safe. |
| History | Help Net Security described this as the second supply-chain attack on the project in 2026, after an incident in March. |
Why an AI Gateway Concentrates Risk
A gateway exists to give applications one place to reach many model providers. That convenience creates three concentrations that risk teams rarely map.
Credential concentration. The gateway usually stores or can reach keys for several AI providers, plus the database that holds virtual keys and budgets. One compromised host can expose all of them, which is why the reported follow-on activity went straight to cloud and Bedrock access.
Data concentration. Prompts and responses from many teams pass through one component. If logs are retained, they can hold personal data, contracts and source code.
Visibility gap. Gateways are often introduced by engineering or data teams, outside procurement. That is the pattern described in our piece on shadow AI as a shadow vendor problem, and it explains why many organisations could not answer within hours whether they ran the affected version. The same dependency can also arrive inside another supplier’s product, which our article on fourth-party AI model risk covers.
Is Free, Self-Hosted Software a “Vendor”?
Yes for risk purposes, even without a contract. Your exposure comes from dependence, not from an invoice. How you manage it depends on how the gateway reaches you.
| How you consume it | Who patches and signs releases | What your TPRM record should hold |
|---|---|---|
| Commercial managed service | The provider | Standard vendor due diligence: security attestations such as SOC 2, incident-notification terms, subprocessors, exit plan |
| Self-hosted open source | Your engineers pin and deploy; the maintainers publish | A named internal owner, version-pinning rule, source of install (internal mirror or public registry), rotation runbook, review date |
| Embedded in another supplier’s product | That supplier | A contract right to learn which open-source and AI components it uses, and notice when one is compromised |
Tiering matters here. A gateway that holds production provider keys and cloud roles belongs in your highest tier under your vendor classification and tiering model, whatever it costs.
Crest.Digital’s third-party risk management platform gives vendors and their risk records one governed home, with continuous monitoring and clear ownership. Software components still need engineering tooling, and the TPRM record is where tier, owner and escalation live.
Explore the TPRM PlatformThe First 24 Hours: A Six-Step Response
Find every instance
Search lock files, container registries, CI caches and running hosts for litellm 1.107.0 and the four listed image tags. LiteLLM notes that not finding the package folder does not prove an environment is clean, so also check for the dropped startup files it names.
Contain before you clean
Do not run pip first in an affected environment, because the malware re-runs on Python start. LiteLLM recommends rebuilding images and virtual environments from scratch and pinning to a version published before the incident.
Rotate everything the host could reach
That means the instance or task role, every provider key in the proxy database, master and virtual keys, database passwords and secrets in process environments. Do it from a clean machine.
Hunt for misuse
Review cloud audit logs for use of the role’s credentials from outside your infrastructure after install time, and provider billing for unexpected model usage.
Decide reportability early
Do not wait for the maintainers to finish their investigation. Regulated firms should check their incident-reporting clocks with compliance and counsel, as discussed in our article on RBI’s third-party incident clock, and follow your vendor breach response process.
Record the evidence
Keep a dated log of searches run, hosts found, keys rotated and decisions taken. Internal audit and regulators will ask for the trail, not the conclusion.
Standing Controls to Add Afterwards
Incident response fixes this week. These controls reduce the next one. The point about provenance deserves attention: Datadog reported that the malicious packages carried build provenance recording the lookalike repository as their source, so provenance only protects you if something checks that the source is the repository you expect.
| Control | What to require | Evidence to keep |
|---|---|---|
| Version pinning and hashes | Pin exact versions and verify hashes in builds; no unpinned installs in production images | Lock files, build logs |
| Controlled intake | Pull third-party packages through an internal mirror and consider a short holding period before adopting new releases | Mirror configuration, exception log |
| Source verification | Check that release provenance names the expected repository and workflow, not merely that provenance exists | Verification step in CI |
| Least privilege | Give the gateway runtime a minimal cloud role, separate keys per team, spend limits and no standing admin access | IAM policies, key inventory |
| Egress control | Allow outbound traffic from the gateway only to approved model providers | Network rules, deny logs |
| Rotation runbook | Documented, tested rotation of every key the gateway holds, with a named owner | Runbook, last test date |
For the supplier side of this problem, such as asking maintainers or vendors how they protect release pipelines, see our guides to SBOM vendor risk management and to supply chain cyber risk intelligence. For the AI-specific inventory, see why your AI inventory starts with your vendor inventory.
Worked Example (Illustrative)
This is a hypothetical scenario, not a customer case study. A lender’s data team ran an open-source gateway on a cloud VM so that three product teams could share model access. It was never registered as a vendor. When the advisory appeared, the CISO’s first question, whether anyone ran the affected version, took a day to answer because the owner was a contractor who had left the team.
After the incident, the risk team added the gateway to its register as a highest-tier dependency with a named owner, set the pinning and mirror rules above, split provider keys by team with spend caps, and added the rotation runbook to its quarterly third-party AI risk review. The outcome that mattered was not a tool but an answer: the next time, the owner, version and reachable credentials could be listed in minutes.
Common Mistakes
Teams most often treat open source as outside third-party risk, rotate only the gateway’s own key while leaving the cloud role untouched, clean in place instead of rebuilding, or assume that a signed or attested build is a trusted one. Another is running a vendor risk assessment once at adoption and never again, even though the dependency changes with every release. Keep business continuity plans in view too: if you must switch gateways under pressure, the fallback should already be tested.
Frequently Asked Questions
LiteLLM is an open-source gateway that lets applications call many AI model providers through one interface. It matters to GRC teams because it can hold provider keys and run near cloud credentials, so a compromised release is both a software supply-chain event and a credential-exposure event. It also tests whether your inventory covers open-source AI components.
Search for litellm 1.107.0 in lock files, build logs and registries, and for pulls of the listed Docker or GHCR tags on 21 October 2026. LiteLLM states that installing or starting the affected release during the exposure window should be treated as compromise, and that failing to find a marker does not prove a host is clean.
For risk purposes, yes. A dependency you cannot easily replace or that touches secrets creates third-party risk whether or not a contract exists. Record an owner, tier and response plan, and use controls such as version pinning and controlled intake in place of a contract.
That is a risk-appetite decision for you, not a conclusion from this article. LiteLLM reports earlier versions are safe and has taken steps to rotate its own tokens, but it has also been hit twice this year according to Help Net Security. Weigh that history, your compensating controls and the cost of switching, and record the decision.
An SBOM would have helped you find affected systems faster, because it lists the components you run. It would not have stopped the install of a poisoned release. Prevention depends on pinning, hash verification, controlled intake and source verification.
Conclusion
The LiteLLM compromise is less about one package than about a category: AI infrastructure that engineering adopts quickly and risk teams meet late. Treat the gateway as a critical third party, keep an owner and a rotation runbook for it, and make sure your inventory can answer “do we run this?” within an hour. For the wider framework, see our enterprise AI governance guide and the complete guide to vendor risk management.
