TPRM PlatformICOFR SuiteAgentic GRCMSME AssuranceVoice AI for GRCAI Voice AuditCredit-AIConflict of InterestPortfolioBlogAbout CrestCareers
Skip to main content

crest.digital

AI GOVERNANCE & THIRD-PARTY RISK

LiteLLM Compromise: Treat Your AI Gateway as a Critical Vendor

A poisoned release of a widely used open-source AI gateway stayed live for about two hours on 21 October 2026. What it means for your inventory, your credentials and your third-party risk programme.

Crest.Digital EditorialOctober 29, 20268 min readAI Governance & Agentic AI

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.

ItemReported fact
The releaseLiteLLM 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 windowPyPI 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 sourceThe 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 inLiteLLM 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.
BehaviourPython 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 activityHelp 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 affectedLiteLLM said enterprise customers using its private enterprise registry were not affected, and that earlier versions are safe.
HistoryHelp 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 itWho patches and signs releasesWhat your TPRM record should hold
Commercial managed serviceThe providerStandard vendor due diligence: security attestations such as SOC 2, incident-notification terms, subprocessors, exit plan
Self-hosted open sourceYour engineers pin and deploy; the maintainers publishA named internal owner, version-pinning rule, source of install (internal mirror or public registry), rotation runbook, review date
Embedded in another supplier’s productThat supplierA 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.

Can you list every AI component you depend on?

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 Platform

The First 24 Hours: A Six-Step Response

1

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.

2

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.

3

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.

4

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.

5

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.

6

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.

ControlWhat to requireEvidence to keep
Version pinning and hashesPin exact versions and verify hashes in builds; no unpinned installs in production imagesLock files, build logs
Controlled intakePull third-party packages through an internal mirror and consider a short holding period before adopting new releasesMirror configuration, exception log
Source verificationCheck that release provenance names the expected repository and workflow, not merely that provenance existsVerification step in CI
Least privilegeGive the gateway runtime a minimal cloud role, separate keys per team, spend limits and no standing admin accessIAM policies, key inventory
Egress controlAllow outbound traffic from the gateway only to approved model providersNetwork rules, deny logs
Rotation runbookDocumented, tested rotation of every key the gateway holds, with a named ownerRunbook, 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.

AI Gateway RiskLiteLLMSoftware Supply ChainThird-Party RiskAI GovernanceIncident Response

Sources & References

  1. LiteLLM, Contained: Oct 21, 2026 LiteLLM release v1.107.0 Compromised (published 21 October 2026, with a later note of 23 October). Supports the affected artifacts, exposure windows, lookalike repository, suspected access path, remediation steps and the statement that enterprise-registry customers were not affected. Primary source from the maintainer; LiteLLM says parts of the post were later found inaccurate or incomplete.
  2. Help Net Security, LiteLLM hit by second supply chain attack this year, users urged to rotate credentials (22 October 2026). Supports the March 2026 earlier incident, the credentials targeted, the AWS and Bedrock validation activity and the weekly download context. Secondary reporting.
  3. Datadog Security Labs, LiteLLM supply chain compromise: What you need to know (21 October 2026). Supports the startup-file behaviour, persistence, build provenance naming the lookalike repository, and remediation. Security vendor analysis.
  4. Wiz, LiteLLM Compromised, Steals Credentials (October 2026). Cited via Help Net Security for the last safe version and the LLMjacking link. Security vendor analysis.
  5. Socket, LiteLLM PyPI Package and Docker Images Compromised to Steal Cloud and AI Credentials (October 2026). Cited via Help Net Security for the seven malicious builds. Security vendor analysis.

See how Crest can help

AI-powered TPRM, compliance automation and GRC intelligence for enterprise teams.

Request a Demo →

Ready to get started?

Bring structure, automation, and continuous intelligence to your GRC Process — without adding headcount.

★ Schedule a Demo