multiparty@4.2.3 and lower versions are vulnerable to denial of service via regular expression backtracking in the Content-Disposition filename parameter parser. A crafted multipart upload with a long header value can cause regex matching to take seconds, blocking the event loop. Impact: any service accepting multipart uploads via multiparty is affected. Workarounds: limiting upload sizes at the proxy or gateway layer reduces but does not eliminate the attack surface, since a small header of around 8 KB is sufficient to trigger the vulnerable backtracking. Upgrade to multiparty@4.3.0 or higher.
References
| Link | Resource |
|---|---|
| https://cna.openjsf.org/security-advisories.html | Third Party Advisory |
| https://github.com/pillarjs/multiparty/security/advisories/GHSA-65x3-rw7q-gx94 | Mitigation Vendor Advisory |
| https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS | Not Applicable |
Configurations
History
No history.
Information
Published : 2026-05-12 10:16
Updated : 2026-06-17 11:03
NVD link : CVE-2026-8159
Mitre link : CVE-2026-8159
CVE.ORG link : CVE-2026-8159
JSON object : View
Products Affected
pillarjs
- multiparty
CWE
CWE-1333
Inefficient Regular Expression Complexity
