CVE-2026-54282
Starlette is a lightweight ASGI framework/toolkit. Prior to 1.3.0, …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Kludex/starlette/security/advisories/GHSA-jp82-jpqv-5vv3
- github.com/advisories/GHSA-jp82-jpqv-5vv3
- nvd.nist.gov/vuln/detail/CVE-2026-54282
- github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2026-248.yaml
- nvd.nist.gov/vuln/detail/CVE-2026-54282
- cve.org/CVERecord?id=CVE-2026-54282
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.