SocWatch

CVE-2026-48710

Mittel 6,5 Aktiv ausgenutzt

Starlette has missing Host header validation that poisons request.url.path, bypassing path-based security checks

CVSS
6,5 (v3.1)
Angriffswahrscheinlichkeit (EPSS)
74,04 % (höher als 99,5 % aller Lücken)
Veröffentlicht
26.05.2026
Zuletzt geändert
01.10.2026

Wird aktiv ausgenutzt

Seit 02.09.2026 in der CISA-Liste ausgenutzter Lücken (KEV). Betroffen: Kludex Starlette.

Empfohlene Maßnahme (CISA): 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.

Öffentlicher Angriffscode

Fertige Exploits gefunden in: nuclei-Template.

Beschreibung

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.

Betroffene Pakete

Paket Betroffen Behoben in
Alpine:v3.24 py3-starlette ab 0.8.3 vor 1.1.0-r0 1.1.0-r0
Debian:12 starlette alle Versionen vor 0.26.1-1+deb12u1 0.26.1-1+deb12u1
Debian:13 starlette alle Versionen vor 0.46.1-3+deb13u2 0.46.1-3+deb13u2
PyPI starlette alle Versionen vor 1.0.1 1.0.1
Ubuntu:22.04:LTS starlette alle Versionen, noch kein Fix noch kein Fix
Ubuntu:24.04:LTS starlette alle Versionen, noch kein Fix noch kein Fix

Quellen

Weitere Kennungen

GHSA-86qp-5c8j-p5mr · PYSEC-2026-161 · X41-2026-002 · UBUNTU-CVE-2026-48710 · DEBIAN-CVE-2026-48710 · ALPINE-CVE-2026-48710 · CWE-444 · CWE-1289

Sind Ihre Projekte betroffen?

Prüfen Sie ein Lockfile kostenlos oder lassen Sie Ihre Repositories laufend überwachen.