Skip to content

Get notified

Get an email when a new major security incident drops. No spam, unsubscribe any time.

Only used for pwn.watch incident emails. Protected by Cloudflare Turnstile.

LivePatchedSupply chain

LiteLLM 1.107.0 PyPI/Docker supply-chain compromise

LiteLLM (PyPI + official Docker/GHCR images)

Brought to you byTinkerer Club

The private club for people who own their servers, run their own AI, and pay $0/month for software.

On Oct 21 2026 attackers compromised LiteLLM’s release pipeline and published malicious litellm==1.107.0 to PyPI (live ~2 hours) plus compromised Docker Hub/GHCR tags (v1.107.0, latest, main-latest, main-stable). The wheels install cook.pth / cook.py / sitecustomize.py that steal cloud, developer and AI-tool credentials at every Python startup and open a remote-code loader. Second LiteLLM compromise of 2026.

Why this severity: Critical supply-chain (credential theft + RAT); OSV MAL-2026-2144 / PYSEC-2026-2

Started
Oct 21, 2026

Follow this incident

Affected

  • litellm==1.107.0; Docker/GHCR tags v1.107.0, latest, main-latest, main-stable during the Oct 21 window

Fixed in

  • 1.106.2 (pin; last known safe). Malicious 1.107.0 removed from PyPI, Docker Hub and GHCR

Timeline12

  1. SecurityWeek: the malicious 1.107.0 packages were online for roughly three hours and are estimated to have been downloaded over 49,000 times; enterprise customers pulling from LiteLLM’s private repository were not affected.

  2. Socket finds secret-stealing workflows (.github/workflows/cache.yml, "ci: bump cache config") ran successfully in BerriAI/litellm on Oct 10 and Oct 12 from throwaway ci-tmp-* branches, posting 20 CI secrets (GH_TOKEN, a GitHub App private key, OpenAI/Anthropic/Bedrock keys, database and Redis credentials) to webhook.site, 11 days before the malicious release. Per Socket, LiteLLM's own investigation traced initial access to an Agent Platform master key committed to a public repository in May and never revoked, and links the GH_TOKEN stolen on Oct 10 to approval of the Oct 21 release.

  3. LiteLLM publishes its root cause: a config file committed to the public LiteLLM-Labs/lite-harness repo on May 27 held the master key to a LiteLLM Agent Platform deployment, and that key was never revoked. On Oct 10 the attacker (from 69.48.229.143) used it to pull an unscoped GitHub CLI OAuth token belonging to the GitHub org owner, then ran throwaway workflows to grab two maintainers' tokens, which they used on Oct 21 to trigger and approve the release (the two-engineer approval rule had been relaxed that week for backports). LiteLLM says it is revoking every token on its internal systems and vendor platforms.

  4. LiteLLM root cause: attacker held three developer GitHub CLI tokens, likely scraped from logs of an internet-exposed internal LiteLLM deployment (Claude Code can echo a gh OAuth token into logged response bodies), disabled branch protection and ran the release workflow against lookalike repo Berri-AI/litellm.

  5. StepSecurity full teardown: payload exfiltrates to lookalike www.litellm.dev (registered Oct 13) and an hourly loader polls a GitHub dead drop (letters9813/pythonclient-test, now deleted). Infected hosts keep polling, so anyone re-registering that username could run code on them: kill the process holding /tmp/remote_code_loader.lock, delete cook.pth/cook.py/sitecustomize.py, pin 1.106.2 and rotate everything.

  6. Malicious 1.107.0 wheels appear on PyPI.

  7. Malicious litellm==1.107.0 (all seven wheels) live on PyPI 11:39-13:23 UTC; Docker tags v1.107.0/latest/main-latest/main-stable compromised 11:46-14:20 UTC.

  8. PyPI quarantines/pulls the package (~2h window).

  9. Docker Hub tags cleaned / retargeted; GHCR images made unavailable earlier.

  10. Wiz sees stolen AWS instance-role credentials validated from 168.100.8.57 and 165.227.201.8 (sts:GetCallerIdentity, then Bedrock model listing), consistent with LLMjacking.

  11. LiteLLM posts containment update; investigation ongoing.

  12. LiteLLM temporarily expands release permissions for two internal engineers (daily bugfix backports).

Advisories1

News & write-ups13
Posts6
The Hacker News
@TheHackersNews

🚨 LiteLLM reveals the root cause of its supply chain attack. A master key leaked on GitHub in May was never revoked, allowing attackers to access its Agent Platform, steal a GitHub owner token, and publish a malicious PyPI release in October. Read: t.co/KfE5QuX1Zs

Socket
@SocketSecurity

🚨 LiteLLM, a Python package for connecting to AI model providers with 92M+ monthly downloads, has been compromised. Version 1.107.0 ships credential-stealing malware through PyPI wheels and Docker images, targeting cloud credentials, developer secrets, and AI tools. t.co/4Mbt1LbhLu

The Hacker News
@TheHackersNews

🚨 LiteLLM 1.107.0 compromised in a supply chain attack. Malicious PyPI packages and Docker images delivered a credential stealer and backdoor. ⚠️ The malware runs at Python startup, targeting cloud credentials, private keys, and AI tool credentials. 🔗 Full story: t.co/ANqBuYaGx5

Moshe Siman Tov Bustan
@MosheTov

❗ If 2 PHP vulns weren't enough for one day (or, 0-day?) - LiteLLM were compromised today by a combined RAT Infostealer malware! TLDR - LiteLLM PyPI ver 1.107.0 is compromised, if you installed it - revoke keys and change passwords ASAP. The malware combines two threats in one t.co/WjpMeKcVgg

Cyber Security News
@The_Cyber_News

‼️ Breaking: LiteLLM Compromised – Infostealer and RAT Injected in 1.107.0 PyPI Release Details: t.co/8rlH8xijjj LiteLLM version 1.107.0 was compromised on PyPI on October 21, 2026, spreading a credential stealer and a remote access trojan through all seven distributed t.co/caDoffOmFx

Notes & caveats

Package pulled but any host that installed 1.107.0 during the window should still be treated as compromised (credential rotation required). MAL-2026-2144 is an OSV malware ID, not a classic CVE. lifecycle live until LiteLLM closes the investigation.

Get an email when a new major security incident drops. No spam, unsubscribe any time.