[pkg-vuln] CVE-2026-48817 in starlette@0.52.1 #541
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: MEDIUM
Package:
starlette@0.52.1Fixed in:
1.1.0Starlette 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 lo
Reference: https://nvd.nist.gov/vuln/detail/CVE-2026-48817
Not exploitable here. CVE-2026-48817 affects
HTTPEndpointclass-based views dispatching viagetattr; the api uses only FastAPI decorated routes, noHTTPEndpoint(grep clean). starlette enters via fastapi (api service) and marimo (notebooks editor). Neither container publishes a host port (compose.yml: only traefik/git/zotero do); both are reachable only on internal compose networks / behind traefik, and the api requires bearer auth on protected routes.Bumped anyway (defense in depth):
starlette0.52.1 → 1.3.1 in65c31cf88f(uv.lock + pkg-manifest; pyproject floor raised for direct deps). Advisory link is in the issue body.