ADVISORIES

GitHub Advisory Database

GHSA-3p4h-7m6x-2hcm

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

Moderate CVE-2026-5038

Details

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

Affected packages

EcosystemPackageAffected versions
npmmulter
From 2.0.0-alpha.1 before 2.2.0 (fixed in 2.2.0)
npmmulter
From 3.0.0-alpha.1 before 3.0.0-alpha.2 (fixed in 3.0.0-alpha.2)

References