5.3 CVE-2026-5038

Enriched by CISA
 

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.
https://nvd.nist.gov/vuln/detail/CVE-2026-5038

Categories

CWE-459 : Incomplete Cleanup
The product does not properly "clean up" and remove temporary or supporting resources after they have been used. Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.) Temporary files and other supporting resources should be deleted/released immediately after they are no longer needed. World-readable temporary file not deleted after use. Temporary file not deleted after use, leaking database usernames and passwords. Interaction error creates a temporary file that can not be deleted due to strong permissions. Alternate data streams for NTFS files are not cleared when files are wiped (alternate channel / infoleak). Alternate data streams for NTFS files are not cleared when files are wiped (alternate channel / infoleak). Alternate data streams for NTFS files are not cleared when files are wiped (alternate channel / infoleak). Alternate data streams for NTFS files are not cleared when files are wiped (alternate channel / infoleak). Alternate data streams for NTFS files are not cleared when files are wiped (alternate channel / infoleak). Users not logged out when application is restarted after security-relevant changes were made.

References


 

AFFECTED (from MITRE)


Vendor Product Versions
multer multer
  • 2.0.0-alpha.1 < 2.2.0 [affected]
  • 2.2.0 [unaffected]
  • 3.0.0-alpha.1 < 3.0.0-alpha.2 [affected]
  • 3.0.0-alpha.2 [unaffected]
© 2022 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.

CPE

cpe start end


REMEDIATION




EXPLOITS


Exploit-db.com

id description date
No known exploits

POC Github

Url
No known exploits

Other Nist (github, ...)

Url
No known exploits


CAPEC


Common Attack Pattern Enumerations and Classifications

id description severity
No entry