Starlette URL bypass actively exploited (CVE-2026-48710) [PoC]
CVE-2026-48710
CVE-2026-48710: Starlette 1.0.1 and earlier lets attackers bypass URL-based security checks via malformed Host header (CVSS 6.5). Update to 1.0.1 or later now.
Actively exploited in the wild - CVE-2026-48710 is a medium security-control bypass in Starlette prior to 1.0.1 that lets attackers evade authentication and authorization checks built on request.url. Patched in 1.0.1, which validates the Host header; update immediately.
Overview
Starlette is a widely used lightweight ASGI framework and toolkit that underpins many popular Python web applications. CVE-2026-48710 stems from inconsistent handling of two URL representations. The routing algorithm inspects the raw HTTP path from the request scope, while request.url is reconstructed from the Host header. Because version 1.0.0 and earlier did not validate the Host header’s grammar, an attacker could send a malformed value that causes request.url.path to diverge from the path actually processed by the router.
This divergence is not merely cosmetic. Frameworks and applications commonly enforce security restrictions - such as authentication gates, CSRF protection, or admin-panel access rules - by inspecting request.url. When an attacker crafts a Host header that alters the reconstructed URL path, those middleware layers can be tricked into treating a restricted request as benign or as targeting a different, allowed endpoint. The request still executes against the real path, which means the security control is silently bypassed.
Impact
The vulnerability has a CVSS score of 6.5 (medium), with a network attack vector and no prerequisites such as authentication or user interaction. The practical consequence is that any Starlette application relying on request.url for security decisions is exposed to authorization and policy bypasses. Because Starlette forms the foundation of frameworks such as FastAPI, the affected user base is significant. The CISA Known Exploited Vulnerabilities catalog confirms active exploitation in the wild, and the EPSS model estimates a 2.1 percent probability of exploitation within 30 days.
Remediation
Upgrade Starlette to version 1.0.1 or later. The fix validates the Host header against the grammar defined in RFC 9112 Section 3.2 and RFC 3986 Section 3.2.2 when constructing request.url, and falls back to the trusted scope["server"] value for malformed headers.
For applications that cannot upgrade immediately, audit all middleware and endpoint code that uses request.url for access decisions and re-implement those checks against the raw scope["path"] value instead. A Web Application Firewall rule that treats malformed Host headers as suspicious can provide interim protection.
For ongoing visibility into this and related threats, review breach reports and follow security news for updates.
Security Insight
CVE-2026-48710 illustrates a recurring class of vulnerability where frameworks expose two representations of the same request that can be made to disagree. The Host header has historically been a trust boundary that developers assume is safe, yet RFC-compliant validation was missing here precisely because the assumption was baked into the URL-construction logic. This mirrors similar Host-header poisoning flaws in other web frameworks over the past decade, and it reinforces that security decisions should always derive from one canonical, validated source of truth - not from convenience properties that reconstruct data from attacker-controlled input.
Further Reading
Never miss a critical vulnerability
Get real-time security alerts delivered to your preferred platform.
Am I Affected by CVE-2026-48710?
Pick an ecosystem, paste your installed version, and we'll compare it against the fixed version published on OSV.dev. Browser-only — nothing is sent to a server.
Heuristic comparison only. Always cross-check against the vendor advisory before making patching decisions.
Public PoC References
Unverified third-party code
These repositories are publicly listed on GitHub and have not been audited by Yazoul Security. They may contain malware, backdoors, destructive payloads, or operational security risks (telemetry, exfiltration). Treat them as hostile binaries. Inspect source before execution. Run only in isolated, disposable lab environments (offline VM, no credentials, no production data).
Authorized use only. This information is provided for defensive research, detection engineering, and patch validation. Using exploit code against systems you do not own or do not have explicit written permission to test is illegal in most jurisdictions and violates Yazoul's terms of use.
| Repository | Stars |
|---|---|
| xtremebeing/starlette-host-header-lab Starlette Host-Header URL Confusion Lab (X41-2026-002) - CVE-2026-48710 | ★ 1 |
| sb-ox/repro-OXDEV-77637-uv-workspace OXDEV-77637 repro fixture: uv workspace whose transitive CVE (starlette 0.25.0 / CVE-2026-48710) is dropped when the lean clone omits workspace-member pyproject.toml. Tag: repro-OXDEV-77637 | ★ 0 |
| CuteeCat/CVE-2026-48710 CVE-2026-48710漏洞验证代码 | ★ 0 |
Showing 3 of 3 known references. Source: nomi-sec/PoC-in-GitHub.
Nuclei Detection Templates
Detection template available — your exposure is being scanned
The templates below are YAML signatures for the Nuclei scanner from ProjectDiscovery. They are not exploit code — they are detection rules that confirm whether a target is vulnerable. The presence of a Nuclei template means every bug bounty hunter, AppSec team, red team, and reconnaissance pipeline on the public internet is actively probing for this CVE.
Assume your exposed instances have already been touched. Patch immediately even if no exploitation is observed yet — fingerprinting precedes exploitation by days at most.
| Template | Source |
|---|---|
CVE-2026-48710.yaml | View YAML |
1 Nuclei template indexed for this CVE. Source: projectdiscovery/nuclei-templates.
Related Advisories
** UNSUPPORTED WHEN ASSIGNED ** Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') vulnerability in Pony Mail leading to admin account takeover. This issue affects all v...
An authenticated user may write data outside the intended Docker cache path under specific remote-repository conditions....
A vulnerability in the web interface of Cisco Secure Firewall Management Center (FMC) Software could allow an unauthenticated, remote attacker to log in to an affected device using a low-privileged ac...
A vulnerability in the web UI of Cisco Catalyst SD-WAN Manager, formerly SD-WAN vManage, could allow an authenticated, remote attacker to create a file or overwrite any file on the filesystem of an af...