Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. multiparty
  4. ›
  5. CVE-2026-8161

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

May 18, 2026

multiparty@4.2.3 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.

References

  • cna.openjsf.org/security-advisories.html
  • github.com/advisories/GHSA-qxch-whhj-8956
  • github.com/pillarjs/multiparty/releases/tag/v4.3.0
  • github.com/pillarjs/multiparty/security/advisories/GHSA-qxch-whhj-8956
  • nvd.nist.gov/vuln/detail/CVE-2026-8161

Code Behaviors & Features

Detect and mitigate CVE-2026-8161 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.3.0

Fixed versions

  • 4.3.0

Solution

Upgrade to version 4.3.0 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
  • CWE-248: Uncaught Exception

Source file

npm/multiparty/CVE-2026-8161.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:59 +0000.