CVE-2026-54283: Starlette · request.form() limits silently ignored for application/x-www-form-urlencoded enable DoS
Affects fastapiSource GCVE Database
Not known to be exploited · CVSS 7.5 High : upgrade to 0.137.0 soon.
Data as of 9 Nov 2026, 20:02 UTC
- Patch
- Available – fixed in 0.137.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 22 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.
What to do
Upgrade fastapi to 0.137.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewfastapipkg:brew/fastapiOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to Starlette or FastAPI version 0.137.0 or later, where the max_fields and max_part_size parameters are properly forwarded and enforced for application/x-www-form-urlencoded requests. This prevents accumulation of excessive fields or large field sizes by raising errors before resource exhaustion. Until upgrade, consider limiting request body sizes at the proxy level, though this does not fully mitigate the risk.
Description
Starlette's request.form() method does not enforce configured limits on max_fields and max_part_size for application/x-www-form-urlencoded content types, allowing unauthenticated attackers to send requests with very large numbers of fields or very large field sizes. This can cause denial of service by blocking the event loop or forcing excessive memory allocation. The issue affects Starlette and FastAPI applications using vulnerable versions. A patch is available in version 0.137.0 that enforces these limits for urlencoded form data.