CVE-2026-54283
Description
Starlette is a lightweight ASGI framework/toolkit. From 0.4.1 until 1.3.1, request.form() accepts max_fields and max_part_size to bound resource consumption while parsing form data. These limits are enforced for multipart/form-data, but silently ignored for application/x-www-form-urlencoded. An unauthenticated attacker can therefore send a urlencoded body with an arbitrarily large number of fields or an arbitrarily large field, even when the application configured limits it believed would apply. This vulnerability is fixed in 1.3.1.
How to fix
- encode starlette1.3.1 or later
- starlette1.3.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| encode starlette | 0.4.1 ≤ v < 1.3.1 | 1.3.1 |
| starlettePyPI | 0.4.1 ≤ v < 1.3.1 | 1.3.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.