Skip to content
CriticalVulnerabilityLLM-specific

GHSA-4xpc-pv4p-pm3w: LiteLLM: Authentication Bypass via Host Header Injection

Published
Record updated
View JSON
Affected
  • litellm < 1.84.0
Fixed in
1.84.0
  • released May 14, 2026, 33 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
3.0%

Summary

A Host-header parsing flaw in the LiteLLM proxy could let unauthenticated callers reach protected management routes. The auth layer derived the route from request.url.path, which Starlette rebuilds from the Host header, so a crafted Host made the gate check a different route than the one FastAPI dispatched. Most deployments are not affected, since upstream CDNs, WAFs, reverse proxies or load balancers that validate Host block the bypass, and LiteLLM Cloud customers are not affected.

Mitigation

Fixed in 1.84.0. Upgrade to 1.84.0 or later; no configuration change is required. If upgrading is not immediately possible, place the proxy behind an upstream component that validates or normalizes the Host header (a CDN/WAF, a reverse proxy with explicit server_name allowlists, or a cloud load balancer with host-based routing rules), or otherwise restrict network access to the proxy listener.