Skip to content
OpenAdvisories
Low · 3.7 CVE-2026-54282 EUVD-2026-38318GHSA-jp82-jpqv-5vv3PYSEC-2026-248

Starlette: Unvalidated request path concatenated into authority poisons request.url.hostname

Published Jun 22, 2026 · Updated Jun 22, 2026 · Assigned by GitHub_M

Description

Starlette is a lightweight ASGI framework/toolkit. Prior to 1.3.0, the HTTP request path is not validated before being used to reconstruct request.url. Because request.url is rebuilt by concatenating {scheme}://{host}{path} and re-parsing the result, a path that does not begin with / (for example @google.com) moves the authority boundary during re-parsing, so request.url.hostname and request.url.netloc become attacker-controlled. Code that reads request.url.hostname (rather than the Host header or scope) can therefore be misled into trusting an attacker-supplied host. This vulnerability is fixed in 1.3.0.

Affected products

VendorProductAffectedFixed
Kludex starlette < 1.3.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 starlette 1.3.1-1 —
Debian 13 starlette 0.46.1-3+deb13u3 —
Debian 12 starlette 0.26.1-1+deb12u2 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 starlette No fix yet —
Ubuntu 26.04 LTS starlette No fix yet —
Ubuntu 25.10 starlette No fix yet —
Ubuntu 24.04 LTS starlette No fix yet —
Ubuntu 22.04 LTS starlette No fix yet —
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 python-starlette 0.41.3-160000.4.1 SUSE-SU-2026:22360-1
SLES 16.0 python-starlette 0.41.3-160000.4.1 SUSE-SU-2026:22360-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-starlette 1.3.1-1.1 openSUSE-SU-2026:11058-1
openSUSE Leap 16.0 python-starlette 0.41.3-160000.4.1 openSUSE-SU-2026:21053-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling airflow-3 3.2.2-r6 —
Wolfi rolling kserve +1 0.20.0-r7 —
Wolfi rolling kserve-storage-controller 0.20.0-r4 —
Wolfi rolling semgrep 1.167.0-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI starlette < 1.3.0 1.3.0 GHSA-jp82-jpqv-5vv3

Advisories 3

References