Unsafe reflection in starlette - #VU132266

 

Unsafe reflection in starlette - #VU132266

Published: May 25, 2026


Vulnerability identifier: #VU132266
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: N/A
CWE-ID: CWE-470
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Encode
Affected software:
starlette

Detailed vulnerability description

The vulnerability allows a remote attacker to invoke unintended endpoint methods.

The vulnerability exists due to use of externally-controlled input to select code in HTTPEndpoint request dispatch when processing a request with a non-standard HTTP method. A remote attacker can send a specially crafted request to invoke unintended endpoint methods.

Exploitation requires an HTTPEndpoint subclass to be registered through Route(...) without an explicit methods= argument, and the subclass must expose additional methods whose names match a non-standard HTTP method token shape, accept a single request argument, and return a response.


Remediation

Install security update from vendor's website.

Sources