CVE Catalog

CVE-2026-77063

LowCVSS 3.7
Published: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

7th percentile - higher than 7% of all known CVEs

Summary

multer before version 2.3.0 has a race condition vulnerability in file stream handling when an asynchronous fileFilter is used together with the fileSize limit. This allows bypassing the rejection of files exceeding the size limit.

Risk Assessment

The risk is that files larger than the allowed limit may be accepted by the application, potentially violating file upload policies, although the parser still truncates the stream, so it does not cause uncontrolled resource consumption.

Recommendation

It is recommended to upgrade multer to version 2.3.0, which includes a fix for this vulnerability.

Other vulnerabilities in multer

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS