{"cve":"CVE-2026-48817","nvd":{"published":"2026-06-17T20:17:22.427","modified":"2026-10-25T23:10:00.167","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3},"cwes":["CWE-470"],"references":["https://github.com/Kludex/starlette/releases/tag/1.1.0","https://github.com/Kludex/starlette/security/advisories/GHSA-x746-7m8f-x49c"],"products":["encode:starlette"],"source":"nvd","synced_at":"2026-10-25T23:44:33.281319194+00:00"},"epss":{"cve":"CVE-2026-48817","score":0.00213,"percentile":0.11485,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-x746-7m8f-x49c","url":"https://osv.dev/vulnerability/GHSA-x746-7m8f-x49c","summary":"Starlette: Arbitrary HTTP method dispatched to `HTTPEndpoint` attributes via `getattr`","modified":"2026-09-10T03:50:12.272722043Z","packages":[{"ecosystem":"PyPI","name":"starlette","purl":"pkg:pypi/starlette","ranges":["<1.1.0"],"fixed":["1.1.0"]}]},{"id":"PYSEC-2026-2280","url":"https://osv.dev/vulnerability/PYSEC-2026-2280","summary":"","modified":"2026-07-13T07:15:42.498495396Z","packages":[{"ecosystem":"PyPI","name":"starlette","purl":"pkg:pypi/starlette","ranges":["<1.1.0"],"fixed":["1.1.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}