SecOraLens
HighAPT

LiteLLM 1.107.0 Supply Chain Attack: How to Secure AI Gateways Beyond Code Signatures

Qualys Blog·Source published ·1 min read

What happened?

On October 21, 2026, LiteLLM’s official release pipeline built, signed, and published version 1.107.0 from an attacker-controlled lookalike fork. The v1.107.0 source tag on GitHub was clean, and the compromised images carried a valid signature. The maintainers have since published their root cause analysis and moved to keyless signing, so security teams can now check two things: whether a compromised artifact ever ran in their environment, and whether their deployment policies would catch the next one. Which LiteLLM Artifacts Were Affected?

Key details

  • LiteLLM 1.107.0 was built and published from an attacker-controlled fork on October 21, 2026, despite a clean source tag and valid signatures.
  • All seven PyPI wheels and multiple container image tags on GHCR and Docker Hub were compromised during specific UTC time windows.
  • Stolen credentials included AWS instance-role credentials from CI runners and Kubernetes nodes, later used to list Amazon Bedrock models.
  • LiteLLM rotated its signing key on October 23 and adopted keyless signing from v1.111.0-dev.3 on November 15.

What is affected?

  • Images built on affected base images or wheels, including those from caches or mirrors after the exposure window.

How do I fix or mitigate it?

  1. Rebuild from a verified release on clean infrastructure, rebuild downstream images, and confirm running digests; do not just uninstall or retag.

What should defenders look for?

  • Startup files cook.pth, cook.py, and sitecustomize.py in site-packages outside the litellm package directory.
  • A detached Python process holding /tmp/remote_code_loader.lock on affected hosts.
  • Lookalike Berri-AI organization and attacker IP addresses listed in maintainers' official indicators.

Summarised by SecOraLens from Qualys Blog. Always read the original source before acting. How SecOraLens verifies advisories.

What to do next

For CISOs and SOC leads

Brief your board. Brief your team.

Executive risk briefs for governance, technical kill-chains for the SOC — delivered as advisories publish. Critical alerts within 1 hour. No spam, unsubscribe anytime.