LiteLLM: Authentication Bypass via Host Header Injection
Impact
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.
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
server_nameallowlists - a host-based load balancer
LiteLLM Cloud customers are not affected.
Patches
Fixed in 1.84.0. Upgrade to 1.84.0 or later. No configuration change is required.
Workarounds
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.
References
- Patched release:
v1.84.0
Discovery Credit: Le The Thang (KCSC) and Kim Ngoc Chung (One Mount Group)
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | litellm | < 1.84.0 | 1.84.0 |
Verweise
- https://github.com/BerriAI/litellm/security/advisories/GHSA-4xpc-pv4p-pm3w
- https://github.com/BerriAI/litellm
- https://github.com/BerriAI/litellm/releases/tag/v1.84.0
- https://pypi.org/project/litellm
- https://github.com/advisories/GHSA-4xpc-pv4p-pm3w
- https://nvd.nist.gov/vuln/detail/CVE-2026-49468
- https://access.redhat.com/security/cve/CVE-2026-49468
- https://bugzilla.redhat.com/show_bug.cgi?id=2491520
- https://github.com/pypa/advisory-database/tree/main/vulns/litellm/PYSEC-2026-388.yaml
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49468.json
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Schwäche (CWE)
CWE-290- Plattform
- Python (PyPI)
- Paket
litellm- Veröffentlicht
- 16.06.2026
- Aktualisiert
- 11.10.2026 15:17
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2026-388 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-4xpc-pv4p-pm3w - CC BY 4.0
Schwachstellenhistorie: litellm
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 42
- Erste → letzte
- 04.2024 09.2026
- Ohne Fix
- 14
- In Angriffen ausgenutzt
- 3
Verteilung nach Schweregrad
- Kritisch 7
- Hoch 17
- Mittel 8
- Niedrig 9
- Nicht bewertet 1
Veröffentlichungen pro Jahr
- 2024: 8
- 2025: 6
- 2026: 28
-
LiteLLM: Authentication Bypass via Host Header Injection dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.