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.
⚠️ Actively exploited — CISA KEV
This CVE was added to CISA's Known Exploited Vulnerabilities catalog on 2026-09-02. It is confirmed exploited in the wild and must be patched as a priority.
Remediation deadline (US federal agencies): 2026-09-16
EPSS · FIRST.org
7.1%probability of exploitation in the next 30 days
Higher than 94% of scored CVEs
EPSS (Exploit Prediction Scoring System) estimates, from observed exploitation activity, how likely a CVE is to be exploited in the next 30 days. It complements CVSS, which measures severity, not likelihood. Score of 2026-10-16, recomputed daily by FIRST.org.
In-depth analysis on cveo.tech
We've published a detailed analysis of this CVE — exploitation, IOCs and mitigation.
CVSS v3.1 Score
Information
- Published
- 26 mai 2026
- Updated
- 1 oct. 2026
- Status
- Analyzed
- Source
- security-advisories@github.com
Affected products
Weaknesses (CWE)
References (29)
- https://badhost.orgMitigationThird Party Advisory
- https://ostif.org/disclosing-the-badhost-vulnerability-in-starletteMitigationThird Party Advisory
- https://www.secwest.net/starletteExploitMitigationThird Party Advisory
- https://www.x41-dsec.de/lab/advisories/x41-2026-002-starletteExploitMitigationThird Party Advisory
- https://access.redhat.com/errata/RHSA-2026:22992Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:22993Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:23346Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:24866Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:26226Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:30088Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:30089Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:34456Third Party Advisory
- + 14 more references on NVD
Similar CVEs
Other vulnerabilities of type CWE-444
Monitor your products
Get automatic alerts for every new CVE affecting your equipment.