CVE-2026-49468: 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/authutils.py::getrequestroute(), which Starlette reconstructs from the Host header.
Published Jun 16, 2026 · Updated Jul 18, 2026
Affected packages
litellm
- Ecosystem
- PyPI
- Affected
- < 1.84.0
- Fixed in
- 1.84.0
- Check
pip show litellm
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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)
Credited to LilThawg29.
References
- 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
- https://access.redhat.com/security/cve/CVE-2026-49468
- https://bugzilla.redhat.com/show_bug.cgi?id=2491520
- https://github.com/BerriAI/litellm
- https://github.com/advisories/GHSA-4xpc-pv4p-pm3w
- https://github.com/pypa/advisory-database/tree/main/vulns/litellm/PYSEC-2026-388.yaml
- https://pypi.org/project/litellm
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-49468.json
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More LiteLLM vulnerabilities
All LiteLLM entriesCVE-2026-84377
LiteLLM: Authenticated SSRF and provider-credential exfiltration via unvalidated request-body routing parameters
medium6.5Sep 30, 2026CVE-2026-59823
LiteLLM Proxy has server-side request forgery via the `user_config` request parameter
medium5.3Sep 17, 2026CVE-2026-37004
LiteLLM vulnerable to server-side template injection in the /prompts/test endpoint
critical9.8Aug 27, 2026CVE-2026-59819
LiteLLM: Local file read via request-supplied OIDC file references
low2.1Jul 22, 2026CVE-2026-59820
LiteLLM: Arbitrary file write via path traversal in Skills archive extraction
medium6.1Jul 22, 2026CVE-2026-59821
LiteLLM: Custom Code Guardrails production endpoints bypass code safety checks
low2.1Jul 22, 2026
