Skip to content

CVE-2026-113872 multer vulnerable to Denial of Service via a pending asynchronous fileFilter after request teardown

HighCVSS 7.5 EPSS 0.44%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebianRed Hat

Description

multer is a middleware for Node.js that handles multipart/form-data file uploads. In versions from 2.0.0 before 2.5.0, when multer is configured with an asynchronous fileFilter, a single request can crash the Node.js process. If the request is aborted while one file's asynchronous fileFilter is still pending, the pending callback later resumes a parsing stream that multer has already torn down, and the underlying parser emits an error on a stream that no longer has an error listener, which Node raises as an unhandled error event so the process exits. Any application using multer with an asynchronous fileFilter is affected regardless of storage engine, while uploads using a synchronous fileFilter are not affected. The issue is fixed in multer 2.5.0, and users should upgrade to 2.5.0 or later. As a workaround, use a synchronous fileFilter.

Upgrade path

9 packages: 3 fixed, 6 with no fix yet.

PackageAffectedFixed inStatus
redhat/ansible-automation-platform/automation-portal(Red Hat ansible_portal 2) All versions No fix listed No fix yet
redhat/ansible-automation-platform/bootc-automation-portal-rhel9(Red Hat ansible_portal 2) All versions No fix listed No fix yet
redhat/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend(Red Hat rhdh 1) All versions No fix listed No fix yet
redhat/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend(Red Hat rhdh 1) All versions No fix listed No fix yet
redhat/rhdh/rhdh-hub-rhel9(Red Hat rhdh 1) All versions No fix listed No fix yet
ubuntu/node-multer(Ubuntu 26.10) All versions No fix listed No fix yet
debian/node-multer(Debian 14) < 2.5.0+~cs3.3.0-1; = 2.2.0+~cs3.1.0-1; = 2.2.0+~cs3.1.0-2; = 2.2.0+~cs3.2.0-1 +1 more 2.5.0+~cs3.3.0-1 Fixed
npm multer >= 2.0.0, < 2.5.0 2.5.0 Fixed
npm multer(npm) >= 2.0.0, < 2.5.0 2.5.0 Fixed

Affected products

ProductAffected versionsFixed in
npm multer >= 2.0.0, < 2.5.0 2.5.0
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/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
debian/node-multer(Debian:14) < 2.5.0+~cs3.3.0-1 2.5.0+~cs3.3.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
debian/node-multer(Debian:14) = 2.4.0+~cs3.2.0-1 No fix listed
npm multer(npm) >= 2.0.0, < 2.5.0 2.5.0
ubuntu/node-multer(Ubuntu:26.10) All versions No fix listed

References