Skip to content

← Public intelligence

npm package

multer

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

15 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 7.5npmAmendedPublished

    multer vulnerable to Denial of Service via a pending asynchronous fileFilter after request teardown

    CVE-2026-113872 · GHSA-q7qp-rjg7-q26m

    Affected
    • npm multer >= 2.0.0, < 2.5.0
    Fixed in
    2.5.0· Vendor fix available
    Issue
    Impact When multer is configured with an asynchronous fileFilter, a single request can crash the Node.js process. If a request is aborted (for example when one file is rejected) while another file's async fileFilter is still pending, the pending callback later resumes a parsing stream that multer has already torn down. busboy then emits an error on a stream that no longer has an error listener, which Node raises as an unhandled 'error' event, and the process exits. A single unauthenticated request is enough, so any application using multer with an asynchronous fileFilter is affected, regardless of storage engine. Uploads using a synchronous fileFilter are not affected. Patches Users should upgrade to multer 2.5.0 or later. Workarounds Use a synchronous fileFilter.

    Recommended action: Upgrade to 2.5.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.com (1)osv.dev (2)Source checked Evidence →
  2. Medium, CVSS 5.3npmAmendedPublished

    multer vulnerable to Denial of Service via orphaned disk writes on aborted uploads

    CVE-2026-88932 · GHSA-3pph-fpjx-jg34

    Affected
    • npm multer >= 2.2.0, < 2.4.0
    Fixed in
    2.4.0· Vendor fix available
    Issue
    Impact Multer's diskStorage can leave complete, orphaned files on disk when a multipart upload is aborted in the brief window before the storage engine assigns the file path. This is an incomplete fix of CVE-2026-5038: the earlier cleanup removes only in-flight uploads that already have a path, so an upload aborted inside that window is written to disk with nothing left to remove it, and the application is not given a handle to clean it up. An unauthenticated attacker sending aborted requests to any route backed by disk storage can accumulate orphaned files until the upload directory or the shared system temporary directory is exhausted. An asynchronous destination or filename widens the window. Patches Users should upgrade to 2.4.0 or higher. Workarounds None.

    Recommended action: Upgrade to 2.4.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.com (1)osv.dev (2)Source checked Evidence →
  3. High, CVSS 7.5npmAmendedPublished

    multer vulnerable to Denial of Service via crafted multipart field names

    CVE-2026-77078 · GHSA-wc9g-mqfw-jrwm

    Affected
    • npm multer < 2.3.0
    Fixed in
    2.3.0· Vendor fix available
    Issue
    Impact A vulnerability in multer allows a remote, unauthenticated attacker to crash the Node.js process with a single multipart/form-data request. Two specially crafted text field names cause an uncaught RangeError: Invalid array length inside multer's field parsing, which is not routed to the application error handler and terminates the process. All applications using multer to parse multipart requests are affected. Patches Users should upgrade to 2.3.0. Workarounds None.

    Recommended action: Upgrade to 2.3.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.com (1)osv.dev (2)Source checked Evidence →
  4. High, CVSS 7.5npmAmendedPublished

    multer vulnerable to Denial of Service via file descriptor leak on aborted uploads

    CVE-2026-77037 · GHSA-qfvm-cv95-jqjf

    Affected
    • npm multer >= 2.2.0, <= 2.2.0
    Fixed in
    2.3.0· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 2.3.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.com (1)osv.dev (2)Source checked Evidence →
  5. Low, CVSS 3.7npmAmendedPublished

    multer vulnerable to file size limit bypass via async fileFilter race condition

    CVE-2026-77063 · GHSA-qvfw-j98x-7q72

    Affected
    • npm multer < 2.3.0
    Fixed in
    2.3.0· Vendor fix available
    Issue
    Impact When multer is configured with an asynchronous fileFilter, the limits.fileSize limit can be bypassed. The 'limit' event is registered inside the async fileFilter callback, so if a file exceeds limits.fileSize before that callback runs, the event is missed and the oversized upload is accepted instead of being rejected with a LIMITFILESIZE error. Applications that rely on limits.fileSize to reject oversized uploads are affected on all upload methods (.single(), .array(), .fields(), .any()). Uploads using a synchronous fileFilter are not affected. Patches Users should upgrade to 2.3.0. Workarounds Use a synchronous fileFilter, or validate the uploaded file size after the upload completes.

    Recommended action: Upgrade to 2.3.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.com (1)osv.dev (2)Source checked Evidence →
  6. High, CVSS 7.5npmAmendedPublished

    multer vulnerable to Denial of Service via oversized array index in field names

    CVE-2026-82333 · GHSA-535w-7cp7-47q4

    Affected
    • npm multer < 2.3.0
    Fixed in
    2.3.0· Vendor fix available
    Issue
    Impact multer is vulnerable to a Denial of Service (DoS) via a crafted array index in multipart field names. The append-field dependency parses bracket notation in field names, and a large numeric index such as items[4294967294] forces allocation of a maximum-length sparse array. A following field with a non-numeric key on the same base then converts that array to an object by iterating its full length, which consumes CPU synchronously and leaves the process unable to handle other requests. A single HTTP request with a crafted multipart body is sufficient to exploit this, and it affects multer 1.x and 2.x. Patches Users should upgrade to 2.3.0 and configure limits.fieldArrayIndexLimit to the minimum array index their application requires. Workarounds None.

    Recommended action: Upgrade to 2.3.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.com (1)osv.dev (2)Source checked Evidence →
  7. High, CVSS 7.5npmAmendedPublished

    Multer vulnerable to Denial of Service via deeply nested field names

    CVE-2026-5079 · GHSA-72gw-mp4g-v24j

    Affected
    • npm multer >= 1.0.0, < 2.2.0; >= 3.0.0-alpha.1, < 3.0.0-alpha.2
    Fixed in
    2.2.03.0.0-alpha.2· Vendor fix available
    Issue
    Impact Multer is vulnerable to a Denial of Service (DoS) via deeply nested field names in multipart form data. The append-field dependency parses bracket notation in field names (e.g., a[b][c]) with no limit on nesting depth, allowing an attacker to force allocation of deeply nested object structures that consume CPU and memory. A single HTTP request with a crafted multipart body is sufficient to exploit this. Patches Users should upgrade to 2.2.0 and configure limits.fieldNestingDepth to the minimum depth their application requires. Workarounds Set limits.fields to a reasonable value to reduce the number of fields an attacker can send per request. This does not fully mitigate the issue but limits the impact.

    Recommended action: Upgrade to 3.0.0-alpha.2 (pre-release) or 2.2.0 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  8. Medium, CVSS 5.3npmAmendedPublished

    Multer vulnerable to Denial of Service via incomplete cleanup of aborted uploads

    CVE-2026-5038 · GHSA-3p4h-7m6x-2hcm

    Affected
    • npm multer >= 2.0.0-alpha.1, < 2.2.0; >= 3.0.0-alpha.1, < 3.0.0-alpha.2
    Fixed in
    2.2.03.0.0-alpha.2· Vendor fix available
    Issue
    Impact A vulnerability in Multer allows an attacker to trigger a Denial of Service (DoS) by aborting or sending malformed multipart uploads, causing orphaned partial files to accumulate on disk when using diskStorage. Patches Users should upgrade to 2.2.0, 3.0.0-alpha.2 or higher Workarounds None

    Recommended action: Upgrade to 3.0.0-alpha.2 (pre-release) or 2.2.0 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  9. High, CVSS 8.7npmAmendedPublished

    Multer Vulnerable to Denial of Service via Uncontrolled Recursion

    CVE-2026-3520 · GHSA-5528-5vmv-3xc2

    Affected
    • npm multer < 2.1.1
    Fixed in
    2.1.1· Vendor fix available
    Issue
    Impact A vulnerability in Multer versions < 2.1.1 allows an attacker to trigger a Denial of Service (DoS) by sending malformed requests, potentially causing stack overflow. Patches Users should upgrade to 2.1.1 Workarounds None Resources - https://github.com/expressjs/multer/security/advisories/GHSA-5528-5vmv-3xc2 - https://www.cve.org/CVERecord?id=CVE-2026-3520 - https://github.com/expressjs/multer/commit/7e66481f8b2e6c54b982b34c152479e096ce2752 - https://cna.openjsf.org/security-advisories.html

    Recommended action: Upgrade to 2.1.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  10. High, CVSS 8.7npmAmendedPublished

    Multer vulnerable to Denial of Service via incomplete cleanup

    CVE-2026-3304 · GHSA-xf7r-hgr6-v32p

    Affected
    • npm multer < 2.1.0
    Fixed in
    2.1.0· Vendor fix available
    Issue
    Impact A vulnerability in Multer versions < 2.1.0 allows an attacker to trigger a Denial of Service (DoS) by sending malformed requests, potentially causing resource exhaustion. Patches Users should upgrade to 2.1.0 Workarounds None

    Recommended action: Upgrade to 2.1.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  11. High, CVSS 8.7npmAmendedPublished

    Multer vulnerable to Denial of Service via resource exhaustion

    CVE-2026-2359 · GHSA-v52c-386h-88mc

    Affected
    • npm multer < 2.1.0
    Fixed in
    2.1.0· Vendor fix available
    Issue
    Impact A vulnerability in Multer versions < 2.1.0 allows an attacker to trigger a Denial of Service (DoS) by dropping connection during file upload, potentially causing resource exhaustion. Patches Users should upgrade to 2.1.0 Workarounds None

    Recommended action: Upgrade to 2.1.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  12. High, CVSS 7.5npmAmendedPublished

    Multer vulnerable to Denial of Service via unhandled exception from malformed request

    CVE-2025-7338 · GHSA-fjgf-rc76-4x9p

    Affected
    • npm multer >= 1.4.4-lts.1, < 2.0.2
    Fixed in
    2.0.2· Vendor fix available
    Issue
    Impact A vulnerability in Multer versions = 1.4.4-lts.1, < 2.0.2 allows an attacker to trigger a Denial of Service (DoS) by sending a malformed request. This request causes an unhandled exception, leading to a crash of the process. Patches Users should upgrade to 2.0.2 Workarounds None

    Recommended action: Upgrade to 2.0.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  13. High, CVSS 8.7npmAmendedPublished

    Multer vulnerable to Denial of Service via unhandled exception

    CVE-2025-48997 · GHSA-g5hg-p3ph-g8qg

    Affected
    • npm multer >= 1.4.4-lts.1, < 2.0.1
    Fixed in
    2.0.1· Vendor fix available
    Issue
    Impact A vulnerability in Multer versions =1.4.4-lts.1, <2.0.1 allows an attacker to trigger a Denial of Service (DoS) by sending an upload file request with an empty string field name. This request causes an unhandled exception, leading to a crash of the process. Patches Users should upgrade to 2.0.1 Workarounds None References https://github.com/expressjs/multer/commit/35a3272b611945155e046dd5cef11088587635e9 https://github.com/expressjs/multer/issues/1233 https://github.com/expressjs/multer/pull/1256

    Recommended action: Upgrade to 2.0.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  14. High, CVSS 7.5npmAmendedPublished

    Multer vulnerable to Denial of Service from maliciously crafted requests

    CVE-2025-47944 · GHSA-4pg4-qvpc-4q3h

    Affected
    • npm multer >= 1.4.4-lts.1, < 2.0.0
    Fixed in
    2.0.0· Vendor fix available
    Issue
    Impact A vulnerability in Multer versions =1.4.4-lts.1 allows an attacker to trigger a Denial of Service (DoS) by sending a malformed multi-part upload request. This request causes an unhandled exception, leading to a crash of the process. Patches Users should upgrade to 2.0.0 Workarounds None References - https://github.com/expressjs/multer/issues/1176 - https://github.com/expressjs/multer/commit/2c8505f207d923dd8de13a9f93a4563e59933665

    Recommended action: Upgrade to 2.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →
  15. High, CVSS 7.5npmAmendedPublished

    Multer vulnerable to Denial of Service via memory leaks from unclosed streams

    CVE-2025-47935 · GHSA-44fp-w29j-9vj5

    Affected
    • npm multer < 2.0.0
    Fixed in
    2.0.0· Vendor fix available
    Issue
    Impact Multer <2.0.0 is vulnerable to a resource exhaustion and memory leak issue due to improper stream handling. When the HTTP request stream emits an error, the internal busboy stream is not closed, violating Node.js stream safety guidance. This leads to unclosed streams accumulating over time, consuming memory and file descriptors. Under sustained or repeated failure conditions, this can result in denial of service, requiring manual server restarts to recover. All users of Multer handling file uploads are potentially impacted. Patches Users should upgrade to 2.0.0 Workarounds None References - https://github.com/expressjs/multer/pull/1120 - https://github.com/expressjs/multer/commit/2c8505f207d923dd8de13a9f93a4563e59933665

    Recommended action: Upgrade to 2.0.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →