Incomplete cleanup in multer - CVE-2026-5038

 

Incomplete cleanup in multer - CVE-2026-5038

Published: June 15, 2026


Vulnerability identifier: #VU134532
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-5038
CWE-ID: CWE-459
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Express.js
Affected software:
multer

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to incomplete cleanup in diskStorage when handling aborted or malformed multipart uploads. A remote attacker can send a malformed multipart upload or abort an upload to cause a denial of service.

Exploitation causes orphaned partial files to accumulate on disk.


How to mitigate CVE-2026-5038

Install security update from vendor's website.

Sources