GHSA-qfvm-cv95-jqjf: High severity npm/multer vulnerability

Published Sep 8, 2026
·
Updated

Impact

A vulnerability in multer 2.2.0 allows an attacker to trigger a Denial of Service (DoS) by aborting or truncating multipart uploads. When using diskStorage, the destination write stream is not closed if the upload is aborted before it finishes, so each failed request leaks an open file descriptor and retains its disk blocks until the process exits. Repeated failed uploads can exhaust the available file descriptors. All applications using multer's disk storage are affected.

Patches

Users should upgrade to 2.3.0.

Workarounds

None.

Affected Software

1 affected componentFixes available
npm/multer=2.2.0
2.3.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade npm/multer to a version that resolves this vulnerability.

    Fixed in 2.3.0
  2. Upgrade

    Upgrade multer to a version that resolves this vulnerability.

    Fixed in 2.3.0
  3. Compensating control

    Mitigate DoS risk by monitoring and limiting repeated failed multipart uploads (since each failed request can leak an open file descriptor and retain disk blocks until the process exits).

Event History

Sep 8, 2026
Advisory Published
via GitHub·09:29 PM
Data Sourced
via GitHub·09:29 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which deployments are exposed to this denial-of-service issue?

All applications using multer diskStorage are affected. Applications that do not use diskStorage are not identified as affected by the provided advisory.

2

What does an attacker need to do to trigger the resource leak?

An attacker can abort or truncate multipart uploads before they finish. Repeated failed upload requests leak open file descriptors and retain disk blocks until the process exits, potentially exhausting available file descriptors.

3

Is there a workaround if an immediate upgrade is not possible?

No workaround is provided. The stated remediation is to upgrade multer to version 2.3.0.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203