Summary
generated automatically from NVD dataStarlette, the ASGI framework, builds request.url from the HTTP Host header without validating it before version 1.0.1. A malformed header can make request.url.path differ from the path actually routed, so middleware or endpoints that enforce security checks on request.url instead of the raw scope path can be bypassed. The flaw is rated CVSS 3.1 6.5 (MEDIUM), is listed in the CISA KEV catalog, and Starlette 1.0.1 fixes it by validating the Host header and falling back to scope["server"]. Several Red Hat products are also listed as affected.
NVD 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.
⚠️ 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-11-25, recomputed daily by FIRST.org.
In-depth analysis on cveo.tech
This CVE is covered in an article: context, affected versions and published fixes.
CVSS v3.1 Score
Information
- Published
- 26 mai 2026
- Updated
- 1 oct. 2026
- Status
- Analyzed
- Source
- security-advisories@github.com
Affected products
Bounds published by NVD: "< 8.4.27" means 8.4.27 is no longer vulnerable. The fixed release to install is in the vendor advisory.
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
Know which CVEs hit the versions you run.
Add the product and its version: cveo.tech lists the CVEs that affect it right away, then alerts you by email when a new one affects it — including before NVD has finished its analysis. Free, an account is all it takes.