{"id":"CVE-2026-54282","published":"2026-06-22T16:45:01Z","modified":"2026-06-22T17:26:58Z","title":"Starlette: Unvalidated request path concatenated into authority poisons request.url.hostname","vendor":"Kludex","product":"starlette","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00273,"percentile":0.12473,"provenance":"source"},"cwes":[{"id":"CWE-706","name":"Use of Incorrectly-Resolved Name or Reference"}],"references":[{"url":"https://github.com/Kludex/starlette/security/advisories/GHSA-jp82-jpqv-5vv3","tags":["x_refsource_CONFIRM"]}],"priority":{"score":5.1,"factors":[{"name":"EPSS percentile","points":2.49},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"kludex","affectedVersions":[{"vendor":"Kludex","product":"starlette","versions":["< 1.3.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-22T17:26:39.551031Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Starlette","vulnerableRanges":["<1.3.0"],"patched":["1.3.0"],"from":["GHSA-jp82-jpqv-5vv3","PYSEC-2026-248"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-38318","exploited":false,"provenance":"source"}}