Skip to content

CVE-2026-77063 multer vulnerable to file size limit bypass via async fileFilter race condition

LowCVSS 3.7 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
npm multer < 2.3.0 2.3.0
redhat/openshift-logging/vector-rhel9(Red Hat:logging:6) All versions No fix listed
redhat/3scale-amp2/system-rhel8(Red Hat:3scale:2.13) All versions No fix listed
redhat/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend(Red Hat:rhdh:1) All versions No fix listed
redhat/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend(Red Hat:rhdh:1) All versions No fix listed
redhat/rhdh/rhdh-hub-rhel9(Red Hat:rhdh:1) All versions No fix listed
redhat/firefox(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/thunderbird(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/firefox(Red Hat:rhel_els:7) All versions No fix listed
redhat/thunderbird(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/fido-device-onboard(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/firefox(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/thunderbird(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/rhtpa/rhtpa-trustification-service-rhel9(Red Hat:trusted_profile_analyzer:2) All versions No fix listed
redhat/ansible-automation-platform/automation-portal(Red Hat:ansible_portal:2) All versions No fix listed
redhat/ansible-automation-platform/bootc-automation-portal-rhel9(Red Hat:ansible_portal:2) All versions No fix listed
npm multer(npm) < 2.3.0 2.3.0
debian/node-multer(Debian:14) < 2.4.0+~cs3.2.0-1 2.4.0+~cs3.2.0-1
debian/node-multer(Debian:14) = 2.2.0+~cs3.1.0-1 No fix listed
debian/node-multer(Debian:14) = 2.2.0+~cs3.1.0-2 No fix listed
debian/node-multer(Debian:14) = 2.2.0+~cs3.2.0-1 No fix listed
expressjs multer < 2.3.0 2.3.0

References