NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2026-8161: multiparty: Denial of Service via Prototype Pollution leads to Uncaught Exception

highCVSS 3.1 7.5GHSA-qxch-whhj-8956

Impact [email protected] and lower versions are vulnerable to denial of service via uncaught exception. By sending a multipart/form-data request with a field name that collides with an inherited Object.prototype property (e.g., proto, constructor, toString), the parser invokes .push() on the inherited prototype value rather than an array, throwing a TypeError that propagates as an uncaught exception and crashes the…

Published May 18, 2026

Affected packages

multiparty

Ecosystem
npm
Affected
<= 4.2.3
Fixed in
4.3.0
Check
npm ls multiparty

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

[email protected] and lower versions are vulnerable to denial of service via uncaught exception. By sending a multipart/form-data request with a field name that collides with an inherited Object.prototype property (e.g., __proto__, constructor, toString), the parser invokes .push() on the inherited prototype value rather than an array, throwing a TypeError that propagates as an uncaught exception and crashes the process. Any service accepting multipart uploads via multiparty is affected.

Patches

Users should upgrade to [email protected] or higher.

Workarounds

None.

Credited to Ser0n-ath, bjohansebas, kq5y, ByamB4, blakeembrey, ljharb, UlisesGascon.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries