CVE-2026-77037: multer vulnerable to Denial of Service via file descriptor leak on aborted uploads
Impact A vulnerability in multer 2.2.0 allows an attacker to trigger a Denial of Service (DoS) by aborting or truncating multipart uploads. When using diskStorage, the destination write stream is not closed if the upload is aborted before it finishes, so each failed request leaks an open file descriptor and retains its disk blocks until the process exits.
Published Sep 8, 2026
Affected packages
multer
- Ecosystem
- npm
- Affected
- = 2.2.0
- Fixed in
- 2.3.0
- Check
npm ls multer
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
A vulnerability in multer 2.2.0 allows an attacker to trigger a Denial of Service (DoS) by aborting or truncating multipart uploads. When using diskStorage, the destination write stream is not closed if the upload is aborted before it finishes, so each failed request leaks an open file descriptor and retains its disk blocks until the process exits. Repeated failed uploads can exhaust the available file descriptors. All applications using multer's disk storage are affected.
Patches
Users should upgrade to 2.3.0.
Workarounds
None.
Credited to dkoazw, EmirCobanOfficial, bjohansebas, UlisesGascon.
References
- https://github.com/expressjs/multer/security/advisories/GHSA-qfvm-cv95-jqjf
- https://nvd.nist.gov/vuln/detail/CVE-2026-77037
- https://github.com/expressjs/multer/commit/eef74440b491ef0f976f3d25895e8089ae495df0
- https://cna.openjsf.org/security-advisories.html
- https://github.com/expressjs/multer/releases/tag/v2.3.0
- https://github.com/advisories/GHSA-qfvm-cv95-jqjf
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-113872
multer vulnerable to Denial of Service via a pending asynchronous fileFilter after request teardown
high7.5Oct 23, 2026CVE-2026-88932
multer vulnerable to Denial of Service via orphaned disk writes on aborted uploads
medium5.3Sep 28, 2026CVE-2026-77063
multer vulnerable to file size limit bypass via async fileFilter race condition
low3.7Sep 8, 2026CVE-2026-77078
multer vulnerable to Denial of Service via crafted multipart field names
high7.5Sep 8, 2026CVE-2026-82333
multer vulnerable to Denial of Service via oversized array index in field names
high7.5Sep 8, 2026CVE-2026-5038
Multer vulnerable to Denial of Service via incomplete cleanup of aborted uploads
medium5.3Jun 17, 2026
