Junglewise Threat Intelligence

CVE-2026-3304: expressjs Multer denial of service via incomplete cleanup

CVE-2026-3304 · Severity: high · CVSS 7.5 · Published 2026-02-27

Technologies: Expressjs Multer.

Executive brief

Multer is a popular tool used by web applications to handle file uploads. A security flaw in older versions allows an attacker to crash the application or make it unresponsive by sending specially crafted, malformed requests. This can lead to a service outage, preventing legitimate users from accessing the application.

Technical details

A Denial of Service (DoS) vulnerability exists in Multer due to incomplete cleanup of resources during the processing of malformed multipart/form-data requests. The root cause is related to 'orphaned files' and incomplete cleanup (CWE-459) when an upload is aborted or fails. An unauthenticated remote attacker can exploit this by sending crafted requests that trigger resource exhaustion or uncontrolled recursion, leading to a service crash. The issue is addressed in version 2.1.0 by improving the middleware's handling of aborted uploads and ensuring temporary files are properly removed.

Affected products

  • expressjs multer < 2.1.0

Timeline

  • 2026-02-27: advisory: GHSA-xf7r-hgr6-v32p published
  • 2026-02-27: patched: Version 2.1.0 released

References