Wiz Research discovered that 294 of 3,074 internet-facing LiteLLM gateways scanned in February accepted the default example admin key "sk-1234". This key is provided in LiteLLM's setup guide and is intended to be replaced before production use. In 191 of these instances, no key was set, meaning any value would have been accepted, while the rest retained the default value.
Possession of this master key grants an attacker administrative access to the LiteLLM gateway. This allows them to read all model provider API keys stored on the server, view prompts and replies passing through, and connect to internal tools via the Model Context Protocol (MCP). Additionally, the gateway often runs with the cloud permissions of its deployment environment, enabling attackers to potentially access cloud IAM credentials and run model workloads on the victim's bill, a practice known as LLMjacking.
LiteLLM allows administrators to create pass-through endpoints that forward requests to any chosen URL. The system does not validate target URLs against private address ranges or cloud metadata addresses. This oversight enables an administrator, or an attacker with the master key, to point a route at the instance metadata service and retrieve IAM credentials, even with IMDSv2 in use. Headers with an "x-pass-" prefix are also forwarded to the target, which could be exploited.
The primary mitigation for this vulnerability is to change the default admin key. This action alone closes all identified attack paths that rely on holding the default key. LiteLLM's setup guide still includes the "sk-1234" example, with a comment advising users to replace it with a strong, random value before deployment. Before version 1.82.0-stable, gateways started without a master key would grant full admin rights to all incoming requests.
✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →
One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.
One email a day. Unsubscribe in one click, any time.
Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.
▶ Play today's briefNew every morning, and the back catalogue is archived by date.
Wiz Research found that nearly one in ten internet-facing LiteLLM gateways scanned in February accepted the default example admin key "sk-1234" from the setup guide. This vulnerability allows unauthorized access to stored API keys, prompts, replies, and potentially cloud IAM credentials, posing a significant security risk for organizations using the AI gateway.