Source: The Hacker News
Author: info@thehackernews.com (The Hacker News)
URL: https://thehackernews.com/2026/09/nearly-1-in-10-exposed-litellm-gateways.html
ONE SENTENCE SUMMARY:
Wiz found many exposed LiteLLM gateways using default master keys, enabling credential theft, code execution, and urgent hardening upgrades needed.
MAIN POINTS:
- Scan found 3,074 Shodan-listed LiteLLM gateways; 294 accepted the example key.
- Of those 294, 191 had no master key set, accepting any value.
- Prior to 1.82.0-stable, missing master key granted full admin to all requests.
- Administrators can view stored model-provider API keys and all prompts/responses passing through.
- Pass-through endpoints allow SSRF to cloud instance metadata, exposing IAM credentials.
- IMDSv2 protections were bypassed using LiteLLM’s
x-pass-header forwarding behavior. - Maintainers classify misconfiguration-based attacks as out-of-scope; no CVE for metadata access.
- CVE-2026-59821 enabled container code execution via guardrail checks bypass pre-1.82.0-stable.
- CISA lists exploited CVE-2026-59822, enabling MCP access with trivial Bearer tokens.
- Mitigations include upgrading to 1.84.0+, blocking risky endpoints, and least-privilege cloud roles.
TAKEAWAYS:
- Replace
sk-1234with a long random master key and follow correct rotation procedure. - Adopt LiteLLM 1.84.0 or later to cover all listed CVE fixes.
- Enforce outbound network restrictions and minimal IAM permissions to limit blast radius.
- Disable or proxy-block
/mcp/, MCP test endpoints, and unsafe guardrail routes. - Assume compromise if exposed: audit guardrails, restart services, and rotate provider/database credentials.