PT-2026-49553

CVE-2026-48817

·

Published

2026-06-15

·

Updated

2026-09-20

Description by

CVSS 3.1
5.3
Medium
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions Starlette versions 1.0.1 and earlier
Description In the HTTPEndpoint component, the handler is selected by lowercasing the HTTP method and looking it up as an attribute using 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, allowing any method to reach the endpoint. If a non-standard HTTP method is used whose lowercased name matches an attribute on the endpoint subclass, that attribute is invoked as a request handler. This allows an attacker to access methods not intended to be HTTP handlers, such as internal helpers, bypassing authorization checks applied to public handlers. This issue also affects frameworks built on Starlette, such as FastAPI.
Recommendations Update to version 1.1.0. Register HTTPEndpoint subclasses with an explicit methods= argument on the Route, listing only the supported HTTP verbs to ensure other methods are rejected with a 405 Method Not Allowed response.
Exploitability
Exploit
Fix
Researchers
Vendors
Affected products
Related identifiers
GHSA-X746-7M8F-X49C
CLEANSTART-2026-EH47852
CLEANSTART-2026-GN02455
CLEANSTART-2026-OL54879
ECHO-0B16-11B5-0D47
OESA-2026-3977
OPENSUSE-SU-2026:21053-1
PYSEC-2026-2280
RHSA-2026:25039
SUSE-SU-2026:22360-1
Found an issue in the description? Have something to add? Feel free to write us 👾