CVE-2026-142184: Formidable through 3.5.4 ReDoS via Multipart Filename Parsing
Formidable through 3.5.4 contains an inefficient regular expression vulnerability in IncomingForm.getFileName that allows remote unauthenticated attackers to cause denial of service via crafted Content-Disposition headers. Attackers can send multipart requests with long part headers containing many repeated filename= sequences to block the Node.js event loop and delay all other requests.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Applications using the npm/formidable package through version 3.5.4 are exposed when they accept attacker-controlled multipart requests. The vulnerable filename parsing occurs while processing multipart Content-Disposition headers.
Does an attacker need authentication or user interaction?
No. The issue is remotely exploitable without authentication or user interaction, as reflected by the PR:N and UI:N metrics.
What must an attacker send to trigger the denial of service?
An attacker must submit a multipart request whose part headers contain a crafted Content-Disposition value with a long sequence of repeated filename= entries. This can cause inefficient regular-expression processing in IncomingForm._getFileName.
What is the operational impact of successful exploitation?
The crafted header can block the Node.js event loop, delaying all other requests handled by the affected application. The reported impact is availability loss; no confidentiality or integrity impact is indicated.