CVE-2026-48710
Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks
Description
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.
In plain language
AI Act nowStarlette versions before 1.0.1 can let an outside attacker fake part of the website address using a bad Host header, bypassing security rules that depend on the request URL path—so if you run internet-facing apps on affected Starlette builds, you should act now.
CVE-2026-48710 is an unauthenticated request-manipulation flaw in Starlette (ASGI) where missing Host header validation lets attackers poison `request.url.path` reconstruction, bypassing path-based security controls that rely on `request.url` instead of the raw ASGI path scope.
What to do now
- Identify which of your apps/platform components use Starlette (and check their installed Starlette versions). If you use Starlette as part of ai inference server, ansible automation platform, migration toolkit for applications, openshift ai, openshift lightspeed, satellite, or enterprise linux ai, verify those versions too.
- Confirm whether any of your web apps apply security restrictions based on
request.url(for example, middleware that checks the URL path or host-derived routing/security decisions). - Upgrade Starlette to 1.0.1 or later.
- Upgrade the other affected packages to their fixed versions: migration toolkit for applications to 8.2.0; openshift ai to 3.3.5.
- If you cannot upgrade immediately, restrict internet access to only what’s required (network-level allowlists) and ensure the service is not broadly reachable from the public internet until patched.
cd YOUR_PROJECT && pip install 'starlette>=1.0.1'
CVSS Vector Breakdown
AV:NAttack VectorAC:LAttack ComplexityPR:NPrivileges RequiredUI:NUser InteractionS:UScopeC:LConfidentialityI:LIntegrityA:NAvailabilityWeaknesses
Affected Products
Exploitability
Required action: 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.
Attack Graph
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
1 techniqueReferences
- Sangoma Switchvox Vulnerabilities Exploited in the Wilden-us·SecurityWeek· Exploited Sangoma Switchvox rce
- CISA Adds Seven Exploited Flaws as Attackers Deploy Reverse Shells and Crypto Minersen·The Hacker News· Exploited SonicWall SMA 1000 Qilin
- LiteLLM Flaw CVE-2026-42271 Exploited in the Wild, Chains to Unauthenticated RCEen·The Hacker News· Exploited BerriAI LiteLLM ai-ml
- BadHost vulnerability bypasses authentication on AI infrastructureen·Risky Business News· Patch Starlette (BadHost, CVE-2026-48710) auth-bypass
- Millions of AI agents imperiled by critical vulnerability in open source packageen·Ars Technica (Security)· Patch Starlette supply-chain
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2026-48710 and every CVE in our database. Create a free account — no credit card required.
Create Free Account