Skip to content

CVE-2026-8161 (High) detected in multiparty-3.3.2.tgz #338

@mend-bolt-for-github

Description

@mend-bolt-for-github

CVE-2026-8161 - High Severity Vulnerability

Vulnerable Library - multiparty-3.3.2.tgz

multipart/form-data parser which supports streaming

Library home page: https://registry.npmjs.org/multiparty/-/multiparty-3.3.2.tgz

Path to dependency file: /OPENAPI-REST-API/openapi-documentation/dynamic-html/package.json

Path to vulnerable library: /OPENAPI-REST-API/openapi-documentation/dynamic-html/node_modules/multiparty/package.json,/OPENAPI-REST-API/swagger-client/dynamic-html/node_modules/multiparty/package.json,/OPENAPI-REST-API/swagger-documentation/dynamic-html/node_modules/multiparty/package.json

Dependency Hierarchy:

  • express-3.21.2.tgz (Root Library)
    • connect-2.30.2.tgz
      • multiparty-3.3.2.tgz (Vulnerable Library)

Found in HEAD commit: 1f70e2feccb7006c8d32cc7d4fe62f5cf5e5c34d

Found in base branch: master

Vulnerability Details

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 such as proto, constructor, or 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. Impact: any service accepting multipart uploads via multiparty is affected. Workarounds: none. Upgrade to multiparty@4.3.0 or higher.
Mend Note: The description of this vulnerability differs from MITRE.

Publish Date: 2026-05-12

URL: CVE-2026-8161

CVSS 3 Score Details (7.5)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: Low
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: None
    • Integrity Impact: None
    • Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2026-05-12

Fix Resolution (multiparty): 4.3.0

Direct dependency fix Resolution (express): 4.0.0


Step up your Open Source Security Game with Mend here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions