Intel

AIKIDO-2026-334092

multer is vulnerable to Denial of Service (DoS)

CVE-2026-5079Published Jun 16, 2026
June 16, 2026

75

CVE Score

High

Denial of Service (DoS)

Are you affected? Scan for Free

TL;DR

multer handles multipart/form-data and passes submitted field names to its append-field dependency, which expands bracket notation such as a[b][c] into nested objects. The parser applies no limit on nesting depth, so a single request with a field name containing tens of thousands of brackets forces allocation of deeply nested structures. This consumes excessive CPU and memory and can render the service unavailable without authentication. The fix adds a fieldNestingDepth limit option that rejects field names whose nesting exceeds the configured depth.

How do I fix this?

Upgrade the multer library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

1.0.0 - 2.1.1

Fixed in 2.2.0

Background info

multer is vulnerable to Denial of Service (DoS) in versions 1.0.0 - 2.1.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea