Kludex Starlette
Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.0.1
Fixed in 1.0.1
Mitigation
Upgrade starlette to 1.0.1 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 1.5 days after publication; added to CISA KEV 99 days after publication. First PoC: Bhanunamikaze/BadHost-CVE-2026-48710-Exploit (created 28 May 2026, found by us: backfilled).
PoC repositories
Found on GitHub.3 PoCs · 2 pending
PoCs 3
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Bhanunamikaze/BadHost-CVE-2026-48710-Exploit | 28 May 2026 +1.5 d | 1 | PoC |
| sb-ox/repro-OXDEV-77637-uv-workspace | 3 Aug 2026 +69 d | 0 | PoC via PoC Index |
| CuteeCat/CVE-2026-48710 | 11 Aug 2026 +76 d | 0 | PoC |
Pending 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| eris-ths/supply-chain-guard | 1 Apr 2026 −56 d | 3 | Pending · mkdir /quarantine/eris-ths__supply-chain-guard-6a8c1fcd1f47: permission denied |
| xtremebeing/starlette-host-header-lab | 27 May 2026 +5 h | 1 | Pending · mkdir /quarantine/xtremebeing__starlette-host-header-lab-d6009ddace95: permission denied |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Starlette - Improper Validation of Unsafe Equivalence in Input | 2 Jun 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 3 PoC reposGET /admin
- Key headers
X-Api-Key: letmein- Ports
- 8000, 8001
- Seen in
- 1 repo: Bhanunamikaze/BadHost-CVE-2026-48710-Exploit
- Evidence
- Bhanunamikaze/BadHost-CVE-2026-48710-Exploit/README.md:54 Bhanunamikaze/BadHost-CVE-2026-48710-Exploit/README.md:55 Bhanunamikaze/BadHost-CVE-2026-48710-Exploit/README.md:56 Bhanunamikaze/BadHost-CVE-2026-48710-Exploit/README.md:6 Bhanunamikaze/BadHost-CVE-2026-48710-Exploit/badhost_vuln_lab/README.md:39 Bhanunamikaze/BadHost-CVE-2026-48710-Exploit/badhost_vuln_lab/README.md:40
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/admin(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8000,8001] (msg:"GG PoC-Monitor CVE-2026-48710 Kludex starlette exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/admin"; http.header; content:"X-Api-Key: letmein"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2026-48710; classtype:web-application-attack; sid:9315251; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Kludex starlette exploit attempt (CVE-2026-48710)
id: gg-pocmon-cve-2026-48710-9315251
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-48710. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-48710
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/admin'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2026.48710