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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Kludex | starlette | < 1.3.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | starlette | 1.3.1-1 | — |
| Debian 13 | starlette | 0.46.1-3+deb13u3 | — |
| Debian 12 | starlette | 0.26.1-1+deb12u2 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | starlette | No fix yet | — |
| Ubuntu 26.04 LTS | starlette | No fix yet | — |
| Ubuntu 25.10 | starlette | No fix yet | — |
| Ubuntu 24.04 LTS | starlette | No fix yet | — |
| Ubuntu 22.04 LTS | starlette | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | python-starlette | 0.41.3-160000.4.1 | SUSE-SU-2026:22360-1 |
| SLES 16.0 | python-starlette | 0.41.3-160000.4.1 | SUSE-SU-2026:22360-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-starlette | 1.3.1-1.1 | openSUSE-SU-2026:11058-1 |
| openSUSE Leap 16.0 | python-starlette | 0.41.3-160000.4.1 | openSUSE-SU-2026:21053-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | airflow-3 | 3.2.2-r6 | — |
| Wolfi rolling | kserve +1 | 0.20.0-r7 | — |
| Wolfi rolling | kserve-storage-controller | 0.20.0-r4 | — |
| Wolfi rolling | semgrep | 1.167.0-r1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | starlette | < 1.3.0 | 1.3.0 | GHSA-jp82-jpqv-5vv3 |
Advisories 3
- SUSE-SU-2026:22360-1 Security update for python-starlette SUSE / openSUSE Security Updates · Jul 2, 2026
- openSUSE-SU-2026:21053-1 Security update for python-starlette SUSE / openSUSE Security Updates · Jun 30, 2026
- openSUSE-SU-2026:11058-1 python311-starlette-1.3.1-1.1 on GA media SUSE / openSUSE Security Updates · Jun 19, 2026