PT-2026-43329
CVE-2026-48710
·
Published
2026-01-27
·
Updated
2026-10-13
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, a lightweight ASGI (Asynchronous Server Gateway Interface) framework, fails to validate the HTTP
Host request header before using it to reconstruct the request.url. While the routing algorithm uses the raw HTTP path, the request.url is rebuilt using the Host header. An attacker can send a malformed Host header containing characters such as /, ?, or # to shift path 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 endpoints. This issue affects various AI infrastructure components, including 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 checks.
Restrict or normalize the Host header at the reverse proxy or load balancer level before it reaches the application.Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾