starlette
Affected
- introduced
0, fixed1.0.1(ecosystem)
Fixed versions
1.0.1
Fix
- Fixed version
1.0.1pip install --upgrade starlette==1.0.1
Advisory
Also known as: CVE-2026-48710, GHSA-86qp-5c8j-p5mr, X41-2026-002
BadHost: Missing Host header validation poisons request.url.path, bypassing path-based security checks
Starlette reconstructs the requested URL based on the HTTP Host request header and requested path, but does not perform any validation of the Host header value. This allows attackers to inject paths into the host part, prepending the actual path. However, routing in Starlette is based on the actual request path. This inconsistent interpretation of HTTP requests may lead to issues such as authentication bypass when the authentication depends on the reconstructed URL’s path.
Not rated by the source.
0, fixed 1.0.1 (ecosystem)1.0.1
1.0.1pip install --upgrade starlette==1.0.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: PyPA Advisory Database · CC BY 4.0