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

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-06-15T20:38:08.000Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-jp82-jpqv-5vv3, PYSEC-2026-248
- Weaknesses: CWE-20, CWE-706
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- Kludex starlette: < 1.3.0
- starlette (PyPI): before 1.3.0
- encode starlette: before 1.3.0

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/Kludex/starlette/security/advisories/GHSA-jp82-jpqv-5vv3> (advisory, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54282> (advisory)
- <https://github.com/Kludex/starlette> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/starlette/PYSEC-2026-248.yaml> (web)

## Sources

- CVE List: [CVE-2026-54282](https://www.cve.org/CVERecord?id=CVE-2026-54282), CVE Terms of Use, modified 2026-06-22
- GitHub Advisory Database: [GHSA-jp82-jpqv-5vv3](https://github.com/advisories/GHSA-jp82-jpqv-5vv3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-54282](https://nvd.nist.gov/vuln/detail/CVE-2026-54282), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-248](https://osv.dev/vulnerability/PYSEC-2026-248), CC-BY-4.0, modified 2026-06-27

---

Page: https://cve.day/CVE-2026-54282 · Whole record: https://cve.day/CVE-2026-54282.json · Rebuilt by cve.day 2026-11-25T22:59:25.397Z
