CVE-2026-48817
Description
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-06-17
- Last modified
- 2026-10-25
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.2 %
higher than 12 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Encode | Starlette | < 1.1.0 | Affected |
Weakness type
-
CWE-470: Use of Externally-Controlled Input to Select Classes or Code
The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code.
References
- https://github.com/Kludex/starlette/releases/tag/1.1.0
- https://github.com/Kludex/starlette/security/advisories/GHSA-x746-7m8f-x49c
Related at Berigo
Articles
-
A backdoor built from ordinary Windows tools keeps taking new documents
Same product
2026-09-26
On 21 September 2026 Securonix described a backdoor it calls TASK#STOMP, assembled from Windows Script Host, PowerShell and the Task Scheduler. It se…
-
Seven new KEV entries, three of them in open developer components
Same product
2026-09-03
CISA added seven new vulnerabilities to its Known Exploited Vulnerabilities catalogue on 2 September 2026. Three of them sit in open components used …
-
A new backdoor does nothing at all until one crafted packet arrives
Same product
2026-08-25
A new Windows backdoor poses as Microsoft's dpapi.dll and is built to be side-loaded into ESET's ERAAgent.exe. It contacts no fixed server, reading a…
-
Hijacked Rust crates ran malicious code during the build
Same product
2026-08-24
Three widely used Rust crates were republished on 20 August 2026 with a hidden dependency that ran malicious code during compilation. The Rust Securi…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.