BerriAI LiteLLM
LiteLLM: Authentication Bypass via Host Header Injection
LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.84.0, 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 litellm/proxy/auth/auth_utils.py::get_request_route(), which Starlette reconstructs from the Host header. A crafted Host could therefore make the auth gate evaluate a different route from the one FastAPI dispatched. This vulnerability is fixed in 1.84.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.84.0
Fixed in 1.84.0
Mitigation
Upgrade litellm to 1.84.0 or later.
References
- Vendor advisory github.com/BerriAI/litellm/security/advisories…
- Release notes github.com/BerriAI/litellm/releases/tag/v1.84.…
Timeline
Days relative to CVE publicationFirst public PoC 10 days after publication; not in CISA KEV. First PoC: BiiTts/CVE-2026-49468-LiteLLM-Auth-Bypass (created 3 Jul 2026, found by us: backfilled).
PoC repositories
Found on GitHub.3 PoCs
PoCs 3
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| BiiTts/CVE-2026-49468-LiteLLM-Auth-Bypass | 3 Jul 2026 +10 d | backfilled | 5 | PoC |
| josephbrito/LiteLLM-Unauthenticated-Command-Injection | 28 Aug 2026 +66 d | backfilled | 0 | PoC |
| krevetkqqq/CVE-2026-49468 | 30 Oct 2026 +130 d | 14 Nov 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: LiteLLM Proxy < 1.84.0 - Host Header Authentication Bypass | unknown | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 3 PoC reposPOST /key/generate
- Content-Type
application/json- Ports
- 4000, 4001
- Seen in
- 1 repo: BiiTts/CVE-2026-49468-LiteLLM-Auth-Bypass
- Evidence
- BiiTts/CVE-2026-49468-LiteLLM-Auth-Bypass/README.md:115
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/key/generate(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [4000,4001] (msg:"GG PoC-Monitor CVE-2026-49468 BerriAI litellm exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/key/generate"; reference:url,poc.griffinguard.io/cve/CVE-2026-49468; classtype:web-application-attack; sid:9039190; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: BerriAI litellm exploit attempt (CVE-2026-49468)
id: gg-pocmon-cve-2026-49468-9039190
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-49468. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-49468
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/key/generate'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.49468