multer vulnerable to Denial of Service via file descriptor leak on aborted uploads
GHSA-qfvm-cv95-jqjf · CVE-2026-77037
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
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.
References
- WEB https://github.com/expressjs/multer/security/advisories/GHSA-qfvm-cv95-jqjf
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-77037
- WEB https://github.com/expressjs/multer/commit/eef74440b491ef0f976f3d25895e8089ae495df0
- WEB https://cna.openjsf.org/security-advisories.html
- PACKAGE https://github.com/expressjs/multer
- WEB https://github.com/expressjs/multer/releases/tag/v2.3.0
Ready to move
Start Securing
Free, no credit card | First findings in minutes