multiparty: Denial of Service via Prototype Pollution leads to Uncaught Exception
Description
Published by the National Vulnerability Database
May 12, 2026
Published to the GitHub Advisory Database
May 18, 2026
Reviewed
May 18, 2026
Last updated
May 18, 2026
Impact
multiparty@4.2.3 and lower versions are vulnerable to denial of service via uncaught exception. By sending a
multipart/form-datarequest with a field name that collides with an inheritedObject.prototypeproperty (e.g.,__proto__,constructor,toString), the parser invokes.push()on the inherited prototype value rather than an array, throwing aTypeErrorthat propagates as an uncaught exception and crashes the process. Any service accepting multipart uploads via multiparty is affected.Patches
Users should upgrade to multiparty@4.3.0 or higher.
Workarounds
None.
References