chore(deps): update dependency multer to v2 [security] - #55
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
renovate
Bot
force-pushed
the
renovate/npm-multer-vulnerability
branch
from
June 20, 2026 08:31
c933948 to
9d634f6
Compare
renovate
Bot
force-pushed
the
renovate/npm-multer-vulnerability
branch
from
September 10, 2026 20:31
9d634f6 to
6f5605d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.4.2→2.3.0Multer vulnerable to Denial of Service via incomplete cleanup
CVE-2026-3304 / GHSA-xf7r-hgr6-v32p
More information
Details
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.0Workarounds
None
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Multer vulnerable to Denial of Service via resource exhaustion
CVE-2026-2359 / GHSA-v52c-386h-88mc
More information
Details
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.0Workarounds
None
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Multer Vulnerable to Denial of Service via Uncontrolled Recursion
CVE-2026-3520 / GHSA-5528-5vmv-3xc2
More information
Details
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.1Workarounds
None
Resources
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Multer vulnerable to Denial of Service via deeply nested field names
CVE-2026-5079 / GHSA-72gw-mp4g-v24j
More information
Details
Impact
Multer is vulnerable to a Denial of Service (DoS) via deeply nested field names in multipart form data. The
append-fielddependency 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.0and configurelimits.fieldNestingDepthto the minimum depth their application requires.Workarounds
Set
limits.fieldsto 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.Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
multer vulnerable to Denial of Service via crafted multipart field names
CVE-2026-77078 / GHSA-wc9g-mqfw-jrwm
More information
Details
Impact
A vulnerability in multer allows a remote, unauthenticated attacker to crash the Node.js process with a single
multipart/form-datarequest. Two specially crafted text field names cause an uncaughtRangeError: Invalid array lengthinside 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.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
multer vulnerable to Denial of Service via oversized array index in field names
CVE-2026-82333 / GHSA-535w-7cp7-47q4
More information
Details
Impact
multer is vulnerable to a Denial of Service (DoS) via a crafted array index in multipart field names. The
append-fielddependency parses bracket notation in field names, and a large numeric index such asitems[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.0and configurelimits.fieldArrayIndexLimitto the minimum array index their application requires.Workarounds
None.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
multer vulnerable to file size limit bypass via async fileFilter race condition
CVE-2026-77063 / GHSA-qvfw-j98x-7q72
More information
Details
Impact
When
multeris configured with an asynchronousfileFilter, thelimits.fileSizelimit can be bypassed. The'limit'event is registered inside the asyncfileFiltercallback, so if a file exceedslimits.fileSizebefore that callback runs, the event is missed and the oversized upload is accepted instead of being rejected with aLIMIT_FILE_SIZEerror. Applications that rely onlimits.fileSizeto reject oversized uploads are affected on all upload methods (.single(),.array(),.fields(),.any()). Uploads using a synchronousfileFilterare 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.Severity
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
expressjs/multer (multer)
v2.3.0Compare Source
MulterErrorcodesINVALID_FIELD_NAMEandSTREAM_DESTROYEDlimits.fieldArrayIndexLimitto bound numeric array indexes in field names (#1438)limits.fileSize(#1407)AsyncLocalStorage) when callingnext()(#1124)%0A,%0D,%22) infile.originalname(#1421)fileFilterinvokes its callback more than once (#1427)MulterErrorcodes without a mapping (#1448)preservePathandparts, usecrypto.randomBytesin theDiskStorageexample (#1414, #1430, #1436)v2.2.0Compare Source
v2.1.1Compare Source
v2.1.0Compare Source
defParamCharsetoption for UTF-8 filename support (#1210)v2.0.2Compare Source
v2.0.1Compare Source
v2.0.0Compare Source
v1.4.4Compare Source
v1.4.3Compare Source
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.