Description
multer is a middleware for handling multipart/form-data in Node.js. When an application uses an asynchronous fileFilter together with the fileSize limit, a race condition in multer's file stream handling can allow a file that exceeds the configured size limit to bypass the size-limit rejection. All versions before 2.3.0 are affected. The impact is limited because the underlying multipart parser still truncates the stream at the size limit, so this is a bypass of the limit rejection rather than uncontrolled resource consumption. The issue is fixed in multer 2.3.0. Upgrade to multer 2.3.0 to remediate.
Published: 2026-08-28
Score: 3.7 Low
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A race condition in Multer’s handling of asynchronous fileFilter callbacks allows an attacker to upload a file larger than the configured size limit while the size‑limit rejection is skipped. The underlying multipart parser still truncates the data stream, so the file is not larger on disk; the issue enables a bypass of the configured limit rejection rather than causing uncontrolled resource consumption.

Affected Systems

All released Multer versions prior to 2.3.0, a middleware used in Node.js applications for handling multipart/form‑data, are affected. The vulnerable functionality is tied to usage of an asynchronous fileFilter in conjunction with the fileSize limit option.

Risk and Exploitability

The vulnerability carries a CVSS score of 3.7 and is not listed in the CISA KEV catalog. No EPSS score is available, suggesting limited published exploitation. Attackers can exploit the condition by sending a multipart POST request that includes a large file while using Multer’s asynchronous fileFilter; the bypass occurs before the size check is applied and is therefore a low‑to‑moderate risk for applications that rely solely on that check.

Generated by OpenCVE AI on August 28, 2026 at 23:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Multer to version 2.3.0 or later
  • If an upgrade is not immediately possible, remove or replace the asynchronous fileFilter with a synchronous implementation
  • Implement additional server‑side file size validation after upload to ensure limits are enforced

Generated by OpenCVE AI on August 28, 2026 at 23:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 29 Aug 2026 00:00:00 +0000

Type Values Removed Values Added
First Time appeared Multer
Multer multer
Vendors & Products Multer
Multer multer

Fri, 28 Aug 2026 22:00:00 +0000

Type Values Removed Values Added
Description multer is a middleware for handling multipart/form-data in Node.js. When an application uses an asynchronous fileFilter together with the fileSize limit, a race condition in multer's file stream handling can allow a file that exceeds the configured size limit to bypass the size-limit rejection. All versions before 2.3.0 are affected. The impact is limited because the underlying multipart parser still truncates the stream at the size limit, so this is a bypass of the limit rejection rather than uncontrolled resource consumption. The issue is fixed in multer 2.3.0. Upgrade to multer 2.3.0 to remediate.
Title multer vulnerable to file size limit bypass via async fileFilter race condition
Weaknesses CWE-362
References
Metrics cvssV3_1

{'score': 3.7, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: openjs

Published:

Updated: 2026-08-28T19:54:58.473Z

Reserved: 2026-08-20T09:59:20.298Z

Link: CVE-2026-77063

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T22:16:53.760

Modified: 2026-08-28T22:16:53.760

Link: CVE-2026-77063

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-29T00:00:15Z

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')