Kritisch

LiteLLM: Authentication Bypass via Host Header Injection

  • Veröffentlicht: 16.06.2026
  • Aktualisiert: 11.10.2026 15:17

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_name allowlists
  • 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

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.

PlattformPaketAnfällige VersionenBehoben in
Python (PyPI) litellm < 1.84.0 1.84.0

Verweise

CVSS-Wert 9.8/10
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.

Alle (42) im Archiv
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

  1. 2024: 8
  2. 2025: 6
  3. 2026: 28
Schweregrad:
  1. Hoch In Angriffen ausgenutzt CVE-2026-59822 < 1.84.0 1.84.0
  2. LiteLLM: Authentication Bypass via Host Header Injection dieser Eintrag
    Kritisch · 9.8 CVE-2026-49468 < 1.84.0 1.84.0
  3. Hoch · 8.8 CVE-2026-40217 >= 1.81.8, < 1.83.10 1.83.10
  4. Hoch · 8.8 In Angriffen ausgenutzt CVE-2026-42271 >= 1.74.2, < 1.83.7 1.83.7
  5. Kritisch · 9.8 In Angriffen ausgenutzt CVE-2026-42208 >= 1.81.16, < 1.83.7 1.83.7
  6. Hoch CVE-2026-42203 >= 1.80.5, < 1.83.7 1.83.7
  7. Kritisch ghsa-5mg7-485q-xm76 >= 1.82.7, <= 1.82.8 keine Korrektur
  8. Hoch · 8.1 CVE-2025-0628 < 1.61.15 1.61.15
  9. Hoch · 7.5 CVE-2025-0330 <= 1.52.1 keine Korrektur
  10. Hoch · 7.5 CVE-2024-9606 < 1.44.12 1.44.12
  11. Hoch · 8.8 CVE-2024-6825 >= 1.40.3.dev2, <= 1.40.12 keine Korrektur
  12. Hoch · 7.5 CVE-2024-10188 < 1.53.1.dev1 1.53.1.dev1
  13. Hoch · 7.5 CVE-2024-6587 < 1.44.8 1.44.8
  14. Kritisch · 9.8 CVE-2024-5751 < 1.40.16 1.40.16
  15. Hoch · 6.5 CVE-2024-4888 < 1.35.36 1.35.36
  16. Hoch · 7.2 CVE-2024-4264 <= 1.28.11 keine Korrektur

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.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.