PT-2026-43329
CVE-2026-48710
·
Published
2026-01-27
·
Updated
2026-12-03
Description by
CVSS 3.1
6.5
MediumMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Starlette versions prior to 1.0.1
Description
Starlette is a lightweight ASGI (Asynchronous Server Gateway Interface) framework. The issue occurs because the HTTP
Host request header is not validated before being used to reconstruct request.url. While the routing algorithm uses the raw HTTP path, request.url is rebuilt using the Host header. An attacker can send a specially crafted Host header containing characters such as /, ?, or # to shift path, query, or fragment boundaries during re-parsing. This causes request.url.path to differ from the actual requested path. Consequently, middleware or endpoints that enforce security restrictions based on request.url (instead of the raw scope path) can be bypassed, potentially allowing unauthorized access to protected sections, such as administrative panels. This affects applications relying on path-based security checks, including those built with FastAPI, vLLM, and LiteLLM.Recommendations
Upgrade to version 1.0.1 or later.
As a temporary workaround, use
request.scope["path"] instead of request.url.path for security-sensitive decisions.
Restrict or normalize the Host header at the reverse proxy or load balancer level before it reaches the application.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾