CVE-2026-48710Starlette 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.
Overview
Severity
| Score | Severity | Version | Vector String |
|---|---|---|---|
| 6.5 | MEDIUM | 3.1GitHub_M (CNA) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
CISA required action
⚡ Known exploited · remediation due Sep 16, 2026
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.
Details
- CVE ID
- CVE-2026-48710
- Status
- Analyzed
- Assigner (CNA)
- GitHub_M
- Published
- May 26, 2026
- Last modified
- 2026-10-01 18:17 UTC
Affected Products
As published by the CNA in the CVE record.
Kludexstarlette1 version range
- < 1.0.1
References
- badhost.org https://badhost.org
- github.com https://github.com/Kludex/starlette/commit/764dab0dcfb9033d75442d7a359645c9f94648c6
- github.com https://github.com/Kludex/starlette/security/advisories/GHSA-86qp-5c8j-p5mr
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2026-161.yaml
- ostif.org https://ostif.org/disclosing-the-badhost-vulnerability-in-starlette
- secwest.net https://www.secwest.net/starlette
- x41-dsec.de https://www.x41-dsec.de/lab/advisories/x41-2026-002-starlette
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:22992
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:22993
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:23346
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:24866
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:26226
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:30088
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:30089
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:34456
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:34526
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:34532
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:37275
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:43038
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:44696
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:51357
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:60520
- access.redhat.com https://access.redhat.com/errata/RHSA-2026:63337
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-48710
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2481742
- security.access.redhat.com https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48710.json
- cisa.gov https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-48710
- wiz.io https://www.wiz.io/blog/ai-infrastructure-honeypot
- microsoft.com https:/www.microsoft.com/en-us/security/blog/2026/08/26/when-ai-infrastructure-becomes-target-securing-gateways-control-points