multer vulnerable to Denial of Service via orphaned disk writes on aborted uploads
Published 28 Sept 2026 · Updated 28 Sept 2026
Is your project on an affected multer?
Affected package
- Affected
- >=2.2.0 <2.4.0
- Fixed in
- 2.4.0
npm install multer@2.4.0Details
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.
Is GHSA-3pph-fpjx-jg34 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected multer, and gives you the command that fixes it.
More advisories for multer
- HighCVE-2026-113872multer vulnerable to Denial of Service via a pending asynchronous fileFilter after request teardown · 23 Oct 2026
- HighCVE-2026-77078multer vulnerable to Denial of Service via crafted multipart field names · 8 Sept 2026
- HighCVE-2026-77037multer vulnerable to Denial of Service via file descriptor leak on aborted uploads · 8 Sept 2026
- LowCVE-2026-77063multer vulnerable to file size limit bypass via async fileFilter race condition · 8 Sept 2026
- HighCVE-2026-82333multer vulnerable to Denial of Service via oversized array index in field names · 8 Sept 2026
- HighCVE-2026-5079Multer vulnerable to Denial of Service via deeply nested field names · 17 Jun 2026
References
- Linkgithub.com/expressjs/multer/security/advisories/GHSA-3pph-fpjx-jg34
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-88932
- Linkgithub.com/expressjs/multer/commit/53337f9713619ef3381ee6b4e541f926dbaac305
- Linkcna.openjsf.org/security-advisories.html
- Packagegithub.com/expressjs/multer
- Linkgithub.com/expressjs/multer/releases/tag/v2.4.0
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.