Advisory

GHSA-qxch-whhj-8956

Also known as: CVE-2026-8161

Summary

multiparty: Denial of Service via Prototype Pollution leads to Uncaught Exception

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-05-18 17:35 UTC
Modified
2026-05-18 17:56 UTC

Affected packages and fixes

multiparty

npm · All systems

Affected

  • introduced 0, fixed 4.3.0 (semver)

Fixed versions

4.3.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences