Skip to content

CVE-2026-5038 multer vulnerable to Denial of Service via incomplete cleanup of aborted uploads

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

Description

Impact: multer versions 2.0.0-alpha.1 through 2.1.1 and 3.0.0-alpha.1 are vulnerable to a Denial of Service when using diskStorage. Aborted or malformed multipart uploads leave orphaned partial files on disk because the Readable.pipe() call does not propagate the stream destroy signal to
the underlying fs.WriteStream. An attacker can exhaust disk space by triggering many aborted uploads, with no application bug required.

Patches: Users should upgrade to multer 2.2.0 (2.x line) or 3.0.0-alpha.2 (3.x prerelease). Both versions track in-flight write streams and clean them up on the abort path.

Workarounds: None.

Upgrade path

10 packages: 3 fixed, 7 with no fix yet.

PackageAffectedFixed inStatus
redhat/ansible-automation-platform/automation-portal:1790254963(Red Hat ansible_portal 2.1) All versions No fix listed No fix yet
redhat/ansible-automation-platform/bootc-automation-portal-rhel9:1790657374(Red Hat ansible_portal 2.2 el9) All versions No fix listed No fix yet
redhat/openshift-logging/vector-rhel9(Red Hat logging 6) All versions No fix listed No fix yet
redhat/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend:1785332487(Red Hat rhdh 1.10 el9) All versions No fix listed No fix yet
redhat/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:1785332825(Red Hat rhdh 1.10 el9) All versions No fix listed No fix yet
redhat/rhdh/rhdh-hub-rhel9:1785411652(Red Hat rhdh 1.10 el9) All versions No fix listed No fix yet
redhat/rhdh/rhdh-hub-rhel9:1785972843(Red Hat rhdh 1.9 el9) All versions No fix listed No fix yet
expressjs multer = 3.0.0-alpha1; >= 2.0.0, < 2.2.0 2.2.0 Fixed
npm multer >= 2.0.0-alpha.1, < 2.2.0; >= 3.0.0-alpha.1, < 3.0.0-alpha.2 2.2.0, 3.0.0-alpha.2 Fixed
npm multer(npm) >= 2.0.0-alpha.1, < 2.2.0; >= 3.0.0-alpha.1, < 3.0.0-alpha.2 2.2.0, 3.0.0-alpha.2 Fixed

Affected products

ProductAffected versionsFixed in
npm multer >= 2.0.0-alpha.1, < 2.2.0 2.2.0
npm multer >= 3.0.0-alpha.1, < 3.0.0-alpha.2 3.0.0-alpha.2
redhat/ansible-automation-platform/automation-portal:1790254963(Red Hat:ansible_portal:2.1) All versions No fix listed
redhat/ansible-automation-platform/bootc-automation-portal-rhel9:1790657374(Red Hat:ansible_portal:2.2::el9) All versions No fix listed
redhat/rhdh/red-hat-developer-hub-backstage-plugin-lightspeed-backend:1785332487(Red Hat:rhdh:1.10::el9) All versions No fix listed
redhat/rhdh/red-hat-developer-hub-backstage-plugin-orchestrator-backend:1785332825(Red Hat:rhdh:1.10::el9) All versions No fix listed
redhat/rhdh/rhdh-hub-rhel9:1785411652(Red Hat:rhdh:1.10::el9) All versions No fix listed
redhat/rhdh/rhdh-hub-rhel9:1785972843(Red Hat:rhdh:1.9::el9) All versions No fix listed
redhat/openshift-logging/vector-rhel9(Red Hat:logging:6) All versions No fix listed
npm multer(npm) >= 2.0.0-alpha.1, < 2.2.0 2.2.0
npm multer(npm) >= 3.0.0-alpha.1, < 3.0.0-alpha.2 3.0.0-alpha.2
expressjs multer >= 2.0.0, < 2.2.0 2.2.0
expressjs multer = 3.0.0-alpha1 No fix listed

References