# CVE-2026-48710: Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Yes: in CISA KEV since 2026-09-02; federal due date 2026-09-16
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 7.06% (percentile 95, 2026-11-26)
- **CWE:** CWE-444
- **Aliases:** GHSA-86qp-5c8j-p5mr, PYSEC-2026-161, X41-2026-002
- **Published:** 2026-05-22T13:10:03.000Z
- **Modified:** 2026-10-01T18:17:18.153Z

## Who should check

- Projects that depend on PyPI package starlette (\< 1.0.1)
- Anyone running Kludex starlette \< 1.0.1

## 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.

## Affected and fixed versions

- PyPI `starlette`: affected \< 1.0.1; fixed 1.0.1 (osv)
- Kludex starlette: \< 1.0.1 (cvelist)

## Mitigation

- Upgrade starlette to 1.0.1 or later.

## Timeline

- 2026-05-22: Published
- 2026-09-02: Added to CISA KEV (exploited in the wild)
- 2026-09-16: CISA remediation due date for US federal agencies
- 2026-10-01: Last modified

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-48710. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-48710.md
Affected: starlette < 1.0.1
Fixed in: 1.0.1

Steps:
1. Search this machine and project for starlette (PyPI), Kludex starlette: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-48710 being exploited?

Yes. CISA lists CVE-2026-48710 in its Known Exploited Vulnerabilities catalog since 2026-09-02, which means attacks have been seen. Public exploit code or a proof of concept is available. EPSS estimates a 7.06% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-48710?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-48710?

starlette \< 1.0.1.

### Is there a fix for CVE-2026-48710?

Yes. Fixed in 1.0.1. Upgrade starlette to 1.0.1 or later.

### How do I check if I'm affected by CVE-2026-48710?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/Kludex/starlette/security/advisories/GHSA-86qp-5c8j-p5mr>
- vendor: <https://access.redhat.com/errata/RHSA-2026:30089>
- vendor: <https://access.redhat.com/errata/RHSA-2026:30088>
- vendor: <https://access.redhat.com/errata/RHSA-2026:24866>
- vendor: <https://access.redhat.com/errata/RHSA-2026:23346>
- vendor: <https://access.redhat.com/errata/RHSA-2026:43038>
- vendor: <https://access.redhat.com/errata/RHSA-2026:37275>
- vendor: <https://access.redhat.com/errata/RHSA-2026:60520>
- vendor: <https://access.redhat.com/errata/RHSA-2026:34456>
- vendor: <https://access.redhat.com/errata/RHSA-2026:44696>
- vendor: <https://access.redhat.com/errata/RHSA-2026:22993>
- vendor: <https://access.redhat.com/errata/RHSA-2026:26226>
- vendor: <https://access.redhat.com/errata/RHSA-2026:51357>
- vendor: <https://access.redhat.com/errata/RHSA-2026:22992>
- vendor: <https://access.redhat.com/errata/RHSA-2026:34532>
- vendor: <https://access.redhat.com/errata/RHSA-2026:34526>
- vendor: <https://access.redhat.com/errata/RHSA-2026:63337>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-48710>
- vendor: <https://www.x41-dsec.de/lab/advisories/x41-2026-002-starlette/>
- patch: <https://github.com/Kludex/starlette/commit/764dab0dcfb9033d75442d7a359645c9f94648c6>
- exploit: <https://www.secwest.net/starlette>
- exploit: <https://www.x41-dsec.de/lab/advisories/x41-2026-002-starlette>
- exploit: <https://www.wiz.io/blog/ai-infrastructure-honeypot>
- article: <https://badhost.org/>
- article: <https://ostif.org/disclosing-the-badhost-vulnerability-in-starlette/>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2026-161.yaml>
- other: <https://ostif.org/disclosing-the-badhost-vulnerability-in-starlette>
- other: <https://www.microsoft.com/en-us/security/blog/2026/08/26/when-ai-infrastructure-becomes-target-securing-gateways-control-points>
- other: <https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-48710>
- other: <https://access.redhat.com/security/cve/CVE-2026-48710>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=2481742>
- other: <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48710.json>
- other: <https://www.cve.org/CVERecord?id=CVE-2026-48710>
- other: <https://github.com/Kludex/starlette>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-48710>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-86qp-5c8j-p5mr> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-161> (license: <https://creativecommons.org/licenses/by/4.0/>)
- CISA KEV: CISA Known Exploited Vulnerabilities Catalog <https://www.cisa.gov/known-exploited-vulnerabilities-catalog>

HTML: <https://flawdb.com/CVE-2026-48710> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-48710>
