fastapi · python-multipart: Quadratic-time querystring parsing with semicolon separators causes CPU denial of service
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 python-multipart to version 0.137.0 or later. This version changes the parser to treat only '&' as a field separator per the WHATWG URL standard, ensuring linear-time parsing and preventing CPU exhaustion. No other mitigations are required.
Description
A vulnerability in python-multipart's QuerystringParser causes quadratic-time parsing of application/x-www-form-urlencoded bodies that use semicolon separators without ampersands. This leads to excessive CPU consumption and potential denial of service by exhausting worker processes. The issue affects versions >=0.111.0 and <0.137.0 and is fixed in version 0.137.0.