CVE-2026-77037
High · 7.5CVSS
7.5
EPSS
0.5%
Published
Aug 28, 2026
CISA due date
—
Cloudanix analysis
A flaw in how a popular Node.js file-upload component cleans up after interrupted uploads lets attackers keep sending bad requests until the server runs out of resources and stops working.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Library
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
In multer 2.2.0 disk storage, an aborted or truncated upload leaves the write file descriptor open after the visible file is unlinked, leaking descriptors and retaining disk blocks until process exit.
Why it matters to the business
Services accepting file uploads can exhaust file descriptors and disk resources, leading to denial of service and application downtime; the issue affects any Node.js application using multer disk storage for multipart uploads.
How an attack unfolds
An attacker reaches an upload route that uses multer's disk storage and repeatedly sends aborted or malformed multipart/form-data requests; each request leaks one file descriptor and associated disk blocks until the process can no longer allocate resources.
How to fix it
Upgrade multer to version 2.3.0; the updated disk storage engine closes the destination write stream on abnormal source termination and defers cleanup until the stream has closed.
How to confirm the fix worked
Inspect package.json or installed node_modules for multer version < 2.3.0; after upgrade, reproduce aborted uploads while monitoring open file descriptors to confirm descriptors are released.
Typical attack path
- Locate an HTTP endpoint that accepts multipart uploads backed by multer diskStorage
- Craft and send a series of truncated or aborted multipart requests
- Repeat the requests at sufficient volume to exhaust available file descriptors and disk blocks
- Observe service degradation or crash due to resource exhaustion
How to detect it
Monitor Node.js processes for steadily increasing open file descriptors associated with temporary upload paths; inspect application and system logs for repeated partial or aborted multipart POST requests to upload endpoints.
What your security team should do
- Upgrade all instances of multer to 2.3.0 as the primary remediation
- Temporarily switch high-risk upload handlers to memoryStorage if disk storage is not required
- Add monitoring for file-descriptor and disk-block usage on upload-handling processes
- Review and restrict which routes accept unauthenticated multipart uploads
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|
Related vulnerabilities
- CVE-2026-116668 Tanium addressed an uncontrolled resource consumption vulnerability in Discover. CWE-400
- CVE-2026-111751 Angular is a development platform for building mobile and desktop web applications using… CWE-400
- CVE-2026-111752 Angular is a development platform for building mobile and desktop web applications using… CWE-400
- CVE-2026-63476 isomorphic-git is a pure JavaScript implementation of Git for Node.js and browsers. CWE-400
- CVE-2026-121444 svg-sanitizer from 0.11.0 before 1.1.0 contains an algorithmic complexity denial of… CWE-400
- CVE-2026-121438 Mistune before 3.3.3 contains a denial of service vulnerability in… CWE-400
- CVE-2026-121404 FreeRDP before 3.32.2 contains a denial of service vulnerability in the shadow server… CWE-400
- CVE-2026-49924 In ShortcutInfo of ShortcutInfo.java, there is a possible way to crash the launcher via… CWE-400