CVE-2026-48710
MEDIUM 6.5CVSS 3.1known exploitedStarlette 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.
- Published
- 26 May 2026
- Last modified
- 1 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1289CWE-444
- Also known as
- GHSA-86qp-5c8j-p5mrPYSEC-2026-161X41-2026-002
- Sources
- NVDJSONCISA KEVJSONOSV GHSA-86qp-5c8j-p5mrJSONOSV PYSEC-2026-161JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | encode | starlettecpe:2.3:a:encode:starlette:*:*:*:*:*:python:*:* |
>= 0.8.3, < 1.0.1 | 1.0.1 |
| NVD | redhat | ai_inference_servercpe:2.3:a:redhat:ai_inference_server:*:*:*:*:*:*:*:* |
>= 3.3.0, <= 3.3.5 | |
| NVD | redhat | ansible_automation_platformcpe:2.3:a:redhat:ansible_automation_platform:2.6:-:*:*:*:*:*:* |
= 2.6 | |
| NVD | redhat | ansible_automation_platformcpe:2.3:a:redhat:ansible_automation_platform:2.7:-:*:*:*:*:*:* |
= 2.7 | |
| NVD | redhat | migration_toolkit_for_applicationscpe:2.3:a:redhat:migration_toolkit_for_applications:*:*:*:*:*:*:*:* |
< 8.2.0 | 8.2.0 |
| NVD | redhat | openshift_aicpe:2.3:a:redhat:openshift_ai:*:*:*:*:*:*:*:* |
>= 3.3, < 3.3.5 | 3.3.5 |
| NVD | redhat | openshift_aicpe:2.3:a:redhat:openshift_ai:*:*:*:*:*:*:*:* |
>= 3.4, < 3.4.2 | 3.4.2 |
| NVD | redhat | openshift_lightspeedcpe:2.3:a:redhat:openshift_lightspeed:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | redhat | satellitecpe:2.3:a:redhat:satellite:6.17:*:*:*:*:*:*:* |
= 6.17 | |
| NVD | redhat | satellitecpe:2.3:a:redhat:satellite:6.18:*:*:*:*:*:*:* |
= 6.18 | |
| NVD | redhat | satellitecpe:2.3:a:redhat:satellite:6.19:*:*:*:*:*:*:* |
= 6.19 | |
| NVD | redhat | enterprise_linux_aicpe:2.3:o:redhat:enterprise_linux_ai:3.0:*:*:*:*:*:*:* |
= 3.0 | |
| OSV | PyPI | starlette | < 1.0.1 | 1.0.1 |
References
- https://badhost.org · Mitigation, Third Party Advisory, WEB, ARTICLE, DETECTION
- https://github.com/Kludex/starlette/commit/764dab0dcfb9033d75442d7a359645c9f94648c6 · Patch, WEB, FIX
- https://github.com/Kludex/starlette/security/advisories/GHSA-86qp-5c8j-p5mr · Vendor Advisory, WEB, EVIDENCE, ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2026-161.yaml · Third Party Advisory, WEB
- https://ostif.org/disclosing-the-badhost-vulnerability-in-starlette · Mitigation, Third Party Advisory, WEB, ARTICLE
- https://www.secwest.net/starlette · Exploit, Mitigation, Third Party Advisory, WEB, ARTICLE
- https://www.x41-dsec.de/lab/advisories/x41-2026-002-starlette · Exploit, Mitigation, Third Party Advisory, WEB, ADVISORY
- https://access.redhat.com/errata/RHSA-2026:22992 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:22993 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:23346 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:24866 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:26226 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:30088 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:30089 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:34456 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:34526 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:34532 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:37275 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:43038 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:44696 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:51357 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:60520 · Third Party Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:63337 · Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2026-48710 · Third Party Advisory, WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2481742 · Issue Tracking, Third Party Advisory, WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-48710.json · Third Party Advisory, WEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-48710 · Third Party Advisory, US Government Resource
- https://www.wiz.io/blog/ai-infrastructure-honeypot · Exploit, Third Party Advisory
- https:/www.microsoft.com/en-us/security/blog/2026/08/26/when-ai-infrastructure-becomes-target-securing-gateways-control-points · Broken Link
- https://nvd.nist.gov/vuln/detail/CVE-2026-48710 · ADVISORY
- https://www.cve.org/CVERecord?id=CVE-2026-48710 · WEB
- https://github.com/Kludex/starlette · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 26 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 22 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Jun 2026)
- 25 Nov 2026 20:10 UTC · CISA KEV: first stored (published 2 Sep 2026)
- 2 Sep 2026 00:00 UTC · Listed as known exploited