CVE-2026-77037: multer vulnerable to Denial of Service via file descriptor leak on aborted uploads
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.
References
- cna.openjsf.org/security-advisories.html
- github.com/advisories/GHSA-qfvm-cv95-jqjf
- github.com/expressjs/multer/commit/eef74440b491ef0f976f3d25895e8089ae495df0
- github.com/expressjs/multer/releases/tag/v2.3.0
- github.com/expressjs/multer/security/advisories/GHSA-qfvm-cv95-jqjf
- nvd.nist.gov/vuln/detail/CVE-2026-77037
Code Behaviors & Features
Detect and mitigate CVE-2026-77037 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →