ShipSafe has 5 sourced items that involve LiteLLM: 0 build stories and 5 security incidents. Each links to the original post and ends with a fix prompt you can paste into your own AI tool.
Where LiteLLM builders get stuck
Leaked secrets & API keys (3): Keys in front-end code or public repos get found and abused within hours. Keep secret keys server-side, set spend limits and turn on secret scanning.
Trusting agents & AI input (1): Agents read web pages, files, emails and tool output that can hide instructions. Give agents the fewest permissions possible and approve anything that runs commands, sends data, deletes or pays.
Dependencies, plugins & MCP servers (1): AI suggests packages, extensions and MCP servers that can be malicious or vulnerable. Check the publisher and permissions before installing.
How to use these LiteLLM stories
Read the summary and the original post, then copy the fix prompt into LiteLLM or whichever AI tool you build with. Each prompt asks the AI to check your own project for the same problem and explain its plan before changing anything. Most of these problems are not unique to LiteLLM, so the topic links above show the same mistake in other tools.
BerriAI published GHSA-2rwg-2wh4-7c4f (High, 7.7) on 12 Nov 2026. On deployments with at least one azure/ or azure_ai/ model and no AZURE_API_KEY or AZURE_OPENAI_API_KEY env var set, the proxy's request-body blocklist missed the Azure Entra credential parameters. An authenticated low-privilege caller could set client_id to a reference to a server env var such as LITELLM_MASTER_KEY; Entra rejected it and the proxy returned the error with the resolved value in it. That exposes env vars like the database URL, provider API keys and the master key, which gives full proxy admin control.
LiteLLMNewSecurity incident · GitHub (BerriAI/litellm) · Nov 12, 2026Source ↗
Amazon Threat Intelligence said on 13 Nov 2026 that its MadPot decoy servers, posing as LLM inference APIs, received requests from 3 Oct to 5 Nov that carried AI agents' own campaign records. It assesses with moderate confidence the agents ran on ARTEX, an open-source agentic pentest framework. The main campaign found internet-exposed LLM gateways and app builders (One API, New API, Veloera, Sub2API, LiteLLM, Dify, FastGPT, Langflow, RAGFlow, Open WebUI, LobeChat, Ollama), pulled out the upstream provider keys, checked they worked and pooled them, with stolen keys paying for the models that ran further hunting. The playbook used default admin credentials such as the LiteLLM default master key, unfinished installs, login-free settings endpoints, an isCliRequest header bypass in One API-family systems, SSRF to cloud metadata, Langflow CVE-2025-3248 and RAGFlow CVE-2026-28797, plus keys left in client-side JavaScript, source maps and env files. Amazon says none of the techniques were new and it cannot verify the outcomes the agents recorded.
A GitHub-reviewed advisory for LiteLLM (CVE-2026-114612, published 27 Oct) says the proxy used one encryption key both to seal stored secrets and to mint session tokens. A user with ordinary internal_user access could get the proxy to encrypt a forged admin credential, replay it as a bearer token and become proxy_admin, including running commands on the host through the MCP stdio endpoint. Versions after 1.91.0 were exploitable in the default setup; fixes are in 1.100.4, 1.101.3, 1.102.2, 1.103.1 and 1.104.0-rc.2.
LiteLLMSecurity incident · GitHub Advisory · Oct 27, 2026Source ↗
LiteLLM's postmortem says the poisoned 1.107.0 release began with a config file holding an internal platform master key, committed to a public repo on 27 May. The commit was removed but the key was not revoked; on 10 Oct an attacker used it to pull a GitHub token with owner-level access to LiteLLM's repos. The Register says the bad package got about 49,000 downloads in under two hours, per Wiz.
On 21 Oct LiteLLM's release pipeline was compromised and a malicious 1.107.0 went out on PyPI (about 11:39 to 13:23 UTC) and Docker tags including latest. Its wheels added cook.pth, cook.py and sitecustomize.py, which run a credential stealer on every Python start, even without importing litellm. It took provider keys, the proxy's stored credentials table, cloud, SSH and CI secrets, and Cursor and Claude config, then left an hourly remote-code loader. LiteLLM says 1.106.2 and the private enterprise release are safe.