← Lab /Security & privacy

10% of public LiteLLM instances expose default key, enabling unauthenticated admin and RCE

Nearly one in ten publicly accessible LiteLLM deployments accept a default master key or no authentication, allowing unauthenticated admin access and root-level code execution.

Security & privacy Wiz Research 9 Sep 2026 Disclosure Real-world evidence

Published as “Off Guard: Breaking LiteLLM from authentication bypass to cloud compromise”

Why it matters

These flaws let attackers gain admin control of AI gateways and pivot to cloud resources, showing that AI gateway deployments must be treated as high-value security assets.

Summary

The researchers scanned about 3,000 internet-facing LiteLLM deployments and found that 9.6% accepted the default master key or no auth. They identified an MCP authentication bypass (CVE-2026-59822) that grants a valid session with any Bearer token, a custom-code guardrail flaw (CVE-2026-59821) that enables root-level code execution, and a pass-through endpoint that can exfiltrate cloud metadata. All issues have been disclosed and patched, but the write-up shows real-world exploitation via a honeypot, highlighting the risk of default credentials in AI gateways.

What they found 3

  1. 9.6% of scanned instances accepted the default master key or no authentication

    “9.6% of 3,074 public instances (at the time of this research) accepted the default master key (sk-1234) or required no authentication at all.”

  2. MCP authentication bypass allows any Bearer token to create a valid session

    “MCP authentication bypass via the MCP endpoint (CVE-2026-59822) - an arbitrary Bearer token can create a valid session; confirmed as exploitable across hundreds of Internet-facing instances.”

  3. Pass-through endpoint can be used to steal cloud IAM credentials

    “Post-auth cloud credential theft vector via the pass-through endpoint feature, as it lacks URL validation.”

Caveats 5

  • This isn’t considered a vulnerability and therefore wasn’t fixed or assigned a CVE, meaning the technique remains abusable in post-auth scenarios.
  • Note that the abovementioned MCP auth bypass vulnerability only allows MCP server access, and does not allow exploitation of this post-auth RCE vulnerability.
  • The pass-through endpoint issue is not assigned a CVE and is considered intended behavior.
  • RCE via custom guardrails requires admin authentication unless the default master key is unchanged.
  • The later scan of 85,000 instances includes many honeypots or test deployments, which may inflate prevalence numbers.

What’s new here 4

  • 9.6% of public LiteLLM instances accept the default master key or no auth.
  • MCP authentication bypass (CVE-2026-59822) allows arbitrary Bearer tokens to create valid sessions.
  • Custom code guardrails can execute arbitrary Python, leading to root-level RCE (CVE-2026-59821).
  • Pass-through endpoints lack URL validation, enabling IAM credential theft from cloud metadata services.

In the news