UBUNTU-CVE-2026-48817

Source
https://ubuntu.com/security/CVE-2026-48817
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48817.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2026-48817
Upstream
Published
2026-06-17T20:17:00Z
Modified
2026-06-24T11:01:41.278371726Z
Severity
  • 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. In versions 1.0.1 and below, when dispatching a request, HTTPEndpoint selects the handler by lowercasing the HTTP method and looking it up as an attribute with getattr, without restricting the lookup to a known set of HTTP verbs. When an HTTPEndpoint subclass is registered through Route(...) without an explicit methods= argument, the route does not constrain the method and every method reaches the endpoint. If a non-standard HTTP method whose lowercased name matches an attribute on the endpoint subclass reaches the endpoint, that attribute is invoked as if it were a request handler. An attacker can use this to reach methods that were never meant to be HTTP handlers, such as internal helpers, without the authorization checks applied by the intended public handler. An application (including Starlette-based frameworks like FastAPI) is affected if it registers an HTTPEndpoint subclass via Route(...) without explicitly setting methods=, and that subclass includes extra methods named like non-standard HTTP verbs that take one request argument and return a response. This issue has been fixed in version 1.1.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_version": "0.18.0-1",
            "binary_name": "python3-starlette"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48817.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_version": "0.31.1-1",
            "binary_name": "python3-starlette"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48817.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_version": "0.46.1-3",
            "binary_name": "python3-starlette"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-48817.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_version": "0.50.0-1",
            "binary_name": "python3-starlette"
        }
    ]
}

Database specific

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