MOSIR
No. 03 · Free Published by MOSIR

No. 03 · Oct 23, 2026 · The lead

LiteLLM traces its poisoned release to GitHub tokens leaked in its own AI gateway logs

LiteLLM says attackers likely lifted GitHub CLI tokens from the logs of an internet-exposed internal gateway, then used them to publish the malicious 1.107.0 release on Oct 21.

By the Local Intelligence Wire desk · Wimberley, Texas ·

LiteLLM, the open-source AI gateway used to put one OpenAI-compatible API in front of local and cloud models, has named a suspected root cause for the poisoned 1.107.0 release that reached PyPI and Docker on Oct 21. According to The Hacker News, the project believes the attacker found an unexpected user account on an internal LiteLLM deployment that was reachable from the public internet, and pulled GitHub CLI OAuth tokens out of that deployment's request and response logs. LiteLLM said a coding assistant can echo a user's GitHub CLI token in a response body, so logging full response bodies exposed it. How the deployment became public is still unexplained; the project suspects a recently patched vulnerability.

The attack chain is now clearer. Two engineers had been given temporary release permissions on Oct 19. The attacker used three developers' credentials, including one belonging to a GitHub organization owner, to disable branch protection, point the release workflow at a lookalike repository named Berri-AI/litellm and publish signed artifacts. Unpinned pip installs were exposed from 11:39 a.m. to 1:23 p.m. UTC and Docker pulls from 11:46 a.m. to 2:20 p.m. UTC. Wiz saw stolen AWS instance-role credentials being tested from two IP addresses that afternoon.

LiteLLM has moved releases to a private repository, made Docker release tags immutable, started signing images and paused regular releases, and says it is rotating every authentication token in the organization. It advises pinning to 1.106.2 or earlier and says enterprise customers pulling from its private registry were not affected. No CVE or CISA alert had been issued as of the latest updates; OSV lists 1.107.0 as malicious.

Why it mattersThe leak path is the story for private AI builders: a gateway that logs full prompts and responses becomes a store of whatever secrets pass through it, including tokens that assistants and agents echo back. Most office AI stacks log by default for troubleshooting, and few treat those logs as sensitive.

For consultantsConsultants running LiteLLM or any AI proxy for clients should confirm no 1.107.0 build ran, pin images by digest, turn off or redact response-body logging, and keep the gateway's admin interface off the public internet.

Sources

Read the full Oct 23, 2026 edition