Skip to main content
← All vulnerabilities
CVE-2026-77063GHSA-QVFW-J98X-7Q72

multer vulnerable to file size limit bypass via async fileFilter race condition

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

multer is a middleware for handling multipart/form-data in Node.js. When an application uses an asynchronous fileFilter together with the fileSize limit, a race condition in multer's file stream handling can allow a file that exceeds the configured size limit to bypass the size-limit rejection. All versions before 2.3.0 are affected. The impact is limited because the underlying multipart parser still truncates the stream at the size limit, so this is a bypass of the limit rejection rather than uncontrolled resource consumption. The issue is fixed in multer 2.3.0. Upgrade to multer 2.3.0 to remediate.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • multer multer

    fixed in 2.3.0

  • multernpm

    fixed in 2.3.0

References 2

GitHub · expressjs/multer

cna.openjsf.org