CVE-2026-48710Starlette has missing Host header validation that poisons request.url.path, bypassing…
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.
What to do
This CVE is being exploited in the wild (CISA Known Exploited Vulnerabilities, added 2026-09-02). If you run an affected version, patch or mitigate now.
Fixed builds are available from Alpine, Debian, PyPI: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | starlette | Fix pending | UBUNTU-CVE-2026-48710 | |
| Ubuntu 26.04 | starlette | Under investigation | UBUNTU-CVE-2026-48710 | |
| Ubuntu 25.10 | starlette | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-48710 | |
| Ubuntu 24.04 | starlette | Under investigation | UBUNTU-CVE-2026-48710 | |
| Ubuntu 22.04 | starlette | Fix pending | UBUNTU-CVE-2026-48710 | |
| Debian 14 | starlette | Fixed | 1.1.0-1 | DEBIAN-CVE-2026-48710 |
| Debian 13 | starlette | Fixed | 0.46.1-3+deb13u2 | DEBIAN-CVE-2026-48710 |
| Debian 12 | starlette | Fixed | 0.26.1-1+deb12u1 | DEBIAN-CVE-2026-48710 |
| Alpine Linux 3.24 | py3-starlette | Fixed | 1.1.0-r0 | ALPINE-CVE-2026-48710 |
| PyPI library | starlette | Fixed | 1.0.1 | PYSEC-2026-161 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Kludex starlette: affected: < 1.0.1
References
- https://github.com/Kludex/starlette/security/advisories/GHSA-86qp-5c8j-p5mr
- https://github.com/Kludex/starlette/commit/764dab0dcfb9033d75442d7a359645c9f94648c6
- https://badhost.org
- https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2026-161.yaml
- https://ostif.org/disclosing-the-badhost-vulnerability-in-starlette
- https://www.secwest.net/starlette
- https://www.x41-dsec.de/lab/advisories/x41-2026-002-starlette
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.