Skip to content

CVE-2026-77037 multer vulnerable to Denial of Service via file descriptor leak on aborted uploads

HighCVSS 7.5 EPSS 0.46%
Published
Updated
Exploit status
No public exploit known
Technology
DebianRed Hat

Description

multer is a middleware for handling multipart/form-data in Node.js. In version 2.2.0, when a disk-backed upload is aborted or truncated before the write stream finishes, multer's disk storage engine removes the visible file but does not close the underlying write file descriptor, leaving a deleted but still open descriptor. A remote attacker able to reach an upload route using the built-in disk storage can send repeated aborted or malformed multipart uploads, each one leaking a file descriptor and retaining disk blocks until the process exits, which can exhaust resources and cause a denial of service. The issue is fixed in multer 2.3.0, which closes the destination write stream on abnormal source termination and defers cleanup until the stream has closed. Upgrade to multer 2.3.0 to remediate.

Affected products

ProductAffected versionsFixed in
npm multer >= 2.2.0, < 2.3.0 2.3.0
redhat/ansible-automation-platform/automation-portal:1792523640(Red Hat:ansible_portal:2.2) All versions No fix listed
redhat/ansible-automation-platform/bootc-automation-portal-rhel9:1791865660(Red Hat:ansible_portal:2.2::el9) All versions No fix listed
redhat/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:1791251282(Red Hat:rhdh:1.10::el9) All versions No fix listed
redhat/rhdh/rhdh-hub-rhel9:1791311495(Red Hat:rhdh:1.10::el9) All versions No fix listed
redhat/openshift-logging/vector-rhel9(Red Hat:logging:6) 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/fido-device-onboard(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
npm multer(npm) = 2.2.0 No fix listed
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.2.0 No fix listed
npm multer(npm) >= 2.2.0, < 2.3.0 2.3.0

References