Skip to main content
VulnerabilityPublished Updated

CVE-2026-54283: Starlette · request.form() limits silently ignored for application/x-www-form-urlencoded enable DoS

Affects semgrepSource GCVE Database

0
Compare
Authoritative record:CVE-2026-54283· High 7.5

Not known to be exploited · CVSS 7.5 High : upgrade to 1.167.0 soon.

Data as of 31 Oct 2026, 16:22 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 1.167.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 30 Oct 2026.

What to do

Upgrade semgrep to 1.167.0.

Affected software

ProductAffectedFixed in
Homebrewsemgreppkg:brew/semgrepOther threatsAffected
  • >=1.137.0 <1.167.0
Fixed in
  • 1.167.0

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 version 1.167.0 or later, which includes a fix that enforces max_fields and max_part_size limits for application/x-www-form-urlencoded requests. The patched parser raises errors before accumulating excessive fields or large field sizes. Configure these limits as needed via request.form(max_fields=..., max_part_size=...) to suit your application's requirements.

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 an attacker to send requests with an arbitrarily large number of fields or very large fields. This can cause denial of service by blocking the event loop or exhausting memory. The issue affects Starlette and FastAPI applications using vulnerable versions. A patch is available that enforces these limits for url-encoded bodies.

References

Community reviews

Loading reviews…