LiteLLM: Authentication Bypass via Host Header Injection
CVE-2026-49468 · GHSA-4xpc-pv4p-pm3w · published 2026-06-16 · updated 2026-07-18
- Severity
- Critical
- CVSS score
- 9.8
- Chance of exploitation (EPSS)
- 3.0%
- Fixed in
- 1.84.0
- Exploitation No known exploitation
- Automatable Yes
- Technical impact Total
- CISA SSVC
A Host-header parsing flaw in the LiteLLM proxy could, under specific conditions, allow unauthenticated access to protected management routes. The auth layer derived the effective route from request.url.path in could therefore make the auth gate evaluate a different route from the one FastAPI dispatched. Most deployments are not affected. The bypass is blocked by any upstream layer that validates or normalizes Host, such as: a CDN or WAF, such as Cloudflare a reverse proxy with servername allowlists a host-based load balancer LiteLLM Cloud customers are not affected.**
Upgrade litellm to 1.84.0 or later. If you start it from an MCP config with npx or uvx, pin that version so an old cached copy is not used.
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 before forwarding (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.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| litellm | PyPI | < 1.84.0 | 1.84.0 |
1 registered MCP server installs an affected version today, by the dependency versions a fresh install resolves.
- io.github.Brightdotdev/darwin-raglitellm@1.83.14
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- CriticalTodoist MCP Server: Browser DNS rebinding lets websites write and delete Todoist data through local MCP server@doist/todoist-mcp
- CriticalLangflow: Unauthenticated Flow Execution via Webhook Authentication Bypasslangflow
- Critical[mcp-atlassian] Authentication bypass in HTTP transport: AtlassianOpaqueTokenVerifier accepts any non-empty tokenmcp-atlassian
- CriticalLiteLLM has SQL Injection in Proxy API key verificationlitellmExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- HighLiteLLM has a sandbox escape in custom-code guardraillitellmExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- CriticalLiteLLM vulnerable to server-side template injection in the /prompts/test endpointlitellm
- CriticalMalicious code in litellm (PyPI)litellm, litellm, litellm
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.