Install
CVE-2026-48710
Starlette is a lightweight ASGI framework/toolkit. Prior to version 1.0.1, the HTTP `Host` request header was not validated before being used to reconstruct `request.url`. Because the routing algorithm relies on the raw HTTP path while `request.url` is rebuilt from the `Host` header, a malformed header could make `request.url.path` differ from the path that was actually requested. Middleware and endpoints that apply security restrictions based on `request.url` (rather than the raw `scope` path) could therefore be bypassed. Users should upgrade to a version greater than or equal to version 1.0.1, which validates the `Host` header against the grammar of RFC 9112 §3.2 / RFC 3986 §3.2.2 when constructing `request.url` and falls back to `scope["server"]` for malformed values.
CISA says: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines. Due 16 Sep 2026 for U.S. federal agencies.
NVD · CVE.org · Red Hat · Ubuntu · Debian · Microsoft · Ask AI Mode · Markdown
Also known as GHSA-86qp-5c8j-p5mr, PYSEC-2026-161, X41-2026-002.
In the news
- CVE-2026-48710 (BadHost): How a Malformed Host Header Bypasses Starlette Path Authorization dev.to, 16 Sep 2026
- Active Exploitation Alert: CVE-2026-42271 and CVE-2026-48710—Unauthenticated RCE in LiteLLM AI Gateway via Starlette Host Header Bypass rescana.com, 9 Jun 2026
- CVE-2026-48710: CVE-2026-48710: Starlette BadHost HTTP Host-Header Path-Poisoning and Authentication Bypass dev.to, 4 Jun 2026
- CVE-2026-48710, BadHost in Starlette penligent.ai, 31 May 2026
- BadHost (CVE-2026-48710): One Rogue Header Line Unlocks Your Entire AI Stack cyberkendra.com, 26 May 2026
Sources: NVD, OSV, CISA KEV, FIRST EPSS. This product uses data from the NVD API but is not endorsed or certified by the NVD. Last checked 5 Dec 2026.