multer vulnerable to Denial of Service via orphaned disk writes on aborted uploads
### Impact Multer's `diskStorage` can leave complete, orphaned files on disk when a multipart upload is aborted in the brief window before the storage engine assigns the file path. This is an incomplete fix of CVE-2026-5038: the earlier cleanup removes only in-flight uploads that already have a path, so an upload aborted inside that window is written to disk with nothing left to remove it, and the application is not given a handle to clean it up. An unauthenticated attacker sending aborted requests to any route backed by disk storage can accumulate orphaned files until the upload directory or the shared system temporary directory is exhausted. An asynchronous `destination` or `filename` widens the window. ### Patches Users should upgrade to `2.4.0` or higher. ### Workarounds None.
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2026-88932US | — | — | ||
multer is a Node.js middleware for handling multipart/form-data uploads. In versions 2.2.0 through 2.3.0, when a request using disk storage is aborted mid-upload, file writes that… | ||||
references
External citations — patches, advisories, analysis.
- https://cna.openjsf.org/security-advisories.htmlWEB
- https://github.com/expressjs/multerPACKAGE
- https://github.com/expressjs/multer/commit/53337f9713619ef3381ee6b4e541f926dbaac305WEB
- https://github.com/expressjs/multer/releases/tag/v2.4.0WEB
- https://github.com/expressjs/multer/security/advisories/GHSA-3pph-fpjx-jg34WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-88932ADVISORY
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan