UBUNTU-CVE-2026-54282

Source
https://ubuntu.com/security/CVE-2026-54282
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54282.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-54282
Upstream
Published
2026-06-22T18:16:00Z
Modified
2026-06-29T13:50:48.506593852Z
Severity
  • 3.7 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:22.04:LTS / starlette

Package

Name
starlette
Purl
pkg:deb/ubuntu/starlette?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.14.1-1
0.16.0-1
0.18.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-starlette",
            "binary_version": "0.18.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54282.json"

Ubuntu:24.04:LTS / starlette

Package

Name
starlette
Purl
pkg:deb/ubuntu/starlette?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.30.0-1
0.31.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-starlette",
            "binary_version": "0.31.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54282.json"

Ubuntu:25.10 / starlette

Package

Name
starlette
Purl
pkg:deb/ubuntu/starlette?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.46.1-2
0.46.1-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-starlette",
            "binary_version": "0.46.1-3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54282.json"

Ubuntu:26.04:LTS / starlette

Package

Name
starlette
Purl
pkg:deb/ubuntu/starlette?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.46.1-3
0.50.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "python3-starlette",
            "binary_version": "0.50.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54282.json"