Skip to content
Heist/ feed
UnratedFix available

DEBIAN-CVE-2026-48817

Type: advisorySource: OSV1 source record

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.

Announced Group revision 1
Original source ↗

DEBIAN-CVE-2026-48817

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:DEBIAN-CVE-2026-48817

starlette

Source reference: /affected/0/package/name

Affected versions
0.26.1-1

Source reference: /affected/0/versions

0.26.1-1+deb12u1

Source reference: /affected/0/versions

Fixed versions
0.26.1-1+deb12u2

Source reference: /affected/0/ranges

Prerequisites
Not stated in this record

starlette

Source reference: /affected/1/package/name

Affected versions
0.46.1-3

Source reference: /affected/1/versions

0.46.1-3+deb13u1

Source reference: /affected/1/versions

0.46.1-3+deb13u2

Source reference: /affected/1/versions

Fixed versions
0.46.1-3+deb13u3

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

starlette

Source reference: /affected/2/package/name

Affected versions
0.46.1-3

Source reference: /affected/2/versions

0.50.0-1

Source reference: /affected/2/versions

1.0.0-1

Source reference: /affected/2/versions

Fixed versions
1.1.0-1

Source reference: /affected/2/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "0.26.1-1+deb12u2"
          }
        ]
      }
    ],
    "package": {
      "name": "starlette",
      "purl": "pkg:deb/debian/starlette?arch=source&distro=bookworm",
      "ecosystem": "Debian:12"
    },
    "versions": [
      "0.26.1-1",
      "0.26.1-1+deb12u1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48817.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "0.46.1-3+deb13u3"
          }
        ]
      }
    ],
    "package": {
      "name": "starlette",
      "purl": "pkg:deb/debian/starlette?arch=source&distro=trixie",
      "ecosystem": "Debian:13"
    },
    "versions": [
      "0.46.1-3",
      "0.46.1-3+deb13u1",
      "0.46.1-3+deb13u2"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48817.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "0"
          },
          {
            "fixed": "1.1.0-1"
          }
        ]
      }
    ],
    "package": {
      "name": "starlette",
      "purl": "pkg:deb/debian/starlette?arch=source&distro=forky",
      "ecosystem": "Debian:14"
    },
    "versions": [
      "0.46.1-3",
      "0.50.0-1",
      "1.0.0-1"
    ],
    "database_specific": {
      "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-48817.json"
    },
    "ecosystem_specific": {
      "urgency": "not yet assigned"
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#57270 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement