CVE-2026-59822 PUBLISHED

LiteLLM: MCP Authentication Bypass via OAuth2 Passthrough Fallback

Assigner: GitHub_M
Reserved: 07.07.2026 Published: 08.07.2026 Updated: 09.07.2026

LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.84.0, LiteLLM's MCP Streamable HTTP endpoint allowed an unauthenticated attacker to use a fabricated Authorization header to trigger an OAuth2 passthrough fallback path that replaced failed LiteLLM key validation with an empty UserAPIKeyAuth() object, allowing requests to reach MCP tooling without a valid LiteLLM key. This issue is fixed in version 1.84.0.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS Score: 8.8

Product Status

Vendor BerriAI
Product litellm
Versions
  • Version < 1.84.0 is affected

References

Problem Types

  • CWE-287: Improper Authentication CWE
  • CWE-306: Missing Authentication for Critical Function CWE