PT-2026-49596 · Pypi · Starlette

·

CVE-2026-54282

·

Published

2026-06-15

·

Updated

2026-08-03

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions starlette versions prior to 1.3.1
Description The HTTP request path is not validated before being used to reconstruct request.url. When a path does not begin with /, such as @google.com, it is concatenated as {scheme}://{host}{path}. This shifts the authority boundary during re-parsing, causing request.url.hostname and request.url.netloc to be controlled by an attacker. Consequently, applications using these variables for security-sensitive decisions—such as host-based authorization, SSRF targets, or cache keys—can be misled into trusting an attacker-supplied host. This issue requires an ASGI server that forwards a request-target lacking a leading / into scope["path"]. The impact is primarily limited to middleware or 404/exception handlers, as the malformed path typically does not match registered routes.
Recommendations Upgrade to version 1.3.1 or newer.

Exploit

Fix

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CLEANSTART-2026-EH47852
CLEANSTART-2026-GN02455
CVE-2026-54282
ECHO-C63D-05AC-97DF
GHSA-JP82-JPQV-5VV3
OPENSUSE-SU-2026:11058-1
OPENSUSE-SU-2026:21053-1
PYSEC-2026-248
SUSE-SU-2026:22360-1

Affected Products

Starlette