Description
multer is a middleware for handling multipart/form-data in Node.js. In version 2.2.0, when a disk-backed upload is aborted or truncated before the write stream finishes, multer's disk storage engine removes the visible file but does not close the underlying write file descriptor, leaving a deleted but still open descriptor. A remote attacker able to reach an upload route using the built-in disk storage can send repeated aborted or malformed multipart uploads, each one leaking a file descriptor and retaining disk blocks until the process exits, which can exhaust resources and cause a denial of service. The issue is fixed in multer 2.3.0, which closes the destination write stream on abnormal source termination and defers cleanup until the stream has closed. Upgrade to multer 2.3.0 to remediate.
Published: 2026-08-28
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Multer is a middleware used in Node.js applications to handle multipart/form-data uploads. In version 2.2.0, the disk‑storage engine does not close the underlying file descriptor when an upload is aborted or truncated before the write stream finishes. Consequently, the file is removed from the filesystem but the descriptor remains open, keeping disk blocks allocated. An attacker who can access an upload route can repeatedly send aborted or malformed uploads, each leak consuming a file descriptor and keeping disk space until the process terminates. The result is exhaustion of system resources and denial of service to legitimate users.

Affected Systems

The vulnerability affects the multer middleware for Node.js, specifically versions 2.2.0 and earlier. Applications that expose file upload endpoints using the default disk‑storage configuration are susceptible. The issue was fixed in multer 2.3.0, which properly closes the destination write stream under abnormal termination and defers cleanup until the stream has closed.

Risk and Exploitability

The CVSS score of 7.5 indicates a high severity impact. The EPSS score is not available, but because the flaw requires only the ability to reach an upload endpoint, the likely attack vector is remote HTTP access to an application that uses multer. The vulnerability is not listed in the CISA KEV catalog, suggesting no known widespread exploitation yet, but the resource exhaustion nature means that even a single successful exploit can affect availability. Monitoring resource usage and limiting the number of open descriptors remain critical until a patch can be applied.

Generated by OpenCVE AI on August 28, 2026 at 23:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade multer to version 2.3.0 or later.
  • Limit the exposure of upload routes behind authentication or IP filtering.
  • Apply request timeouts and upload size limits to reduce the impact of repeated aborted uploads.

Generated by OpenCVE AI on August 28, 2026 at 23:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 29 Aug 2026 00:30:00 +0000

Type Values Removed Values Added
First Time appeared Multer
Multer multer
Vendors & Products Multer
Multer multer

Fri, 28 Aug 2026 22:00:00 +0000

Type Values Removed Values Added
Description multer is a middleware for handling multipart/form-data in Node.js. In version 2.2.0, when a disk-backed upload is aborted or truncated before the write stream finishes, multer's disk storage engine removes the visible file but does not close the underlying write file descriptor, leaving a deleted but still open descriptor. A remote attacker able to reach an upload route using the built-in disk storage can send repeated aborted or malformed multipart uploads, each one leaking a file descriptor and retaining disk blocks until the process exits, which can exhaust resources and cause a denial of service. The issue is fixed in multer 2.3.0, which closes the destination write stream on abnormal source termination and defers cleanup until the stream has closed. Upgrade to multer 2.3.0 to remediate.
Title multer vulnerable to Denial of Service via file descriptor leak on aborted uploads
Weaknesses CWE-400
CWE-459
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

Updated: 2026-08-28T19:44:23.501Z

Reserved: 2026-08-20T09:01:08.767Z

Link: CVE-2026-77037

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T22:16:53.627

Modified: 2026-08-28T22:16:53.627

Link: CVE-2026-77037

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-29T00:15:05Z

Weaknesses
  • CWE-400

    Uncontrolled Resource Consumption

  • CWE-459

    Incomplete Cleanup