CVE-2026-54283 Details
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.
A denial-of-service vulnerability has been identified in Starlette versions 0.4.1 prior to 1.3.1. The issue arises in the request.form() method, which accepts max_fields and max_part_size parameters to limit resource consumption when parsing form data. While these limits are properly enforced for multipart/form-data, they are ignored for application/x-www-form-urlencoded content. This oversight allows an unauthenticated attacker to send a urlencoded body with an excessive number of fields or large field sizes, bypassing application-configured limits. The vulnerability is particularly impactful because the url-encoded parser processes data synchronously, leading to event-loop blocking and increased memory usage.
Users are advised to upgrade to Starlette version 1.3.1 or later, which addresses the vulnerability by properly forwarding the max_fields and max_part_size parameters to the url-encoded parser, enforcing the limits during parsing and preventing the accumulation of oversized fields or excessive numbers of fields. The default settings in the patched version align with those for multipart/form-data, allowing for customization if needed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Kludex/starlette/security/advisories/GHSA-82w8-qh3p-5jfq | [email protected] | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| encode starlette | >= 0.4.1, < 1.3.1 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 25, 2026 | CVE Translated | [email protected] |
| Jun 26, 2026 | Initial Analysis | [email protected] |
| Jun 23, 2026 | CVE Modified | CISA-ADP |
| Jun 22, 2026 | New CVE Received | [email protected] |