Live threats

All CVEs / Expressjs

CVE-2026-5038Expressjs Multer

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jun 15, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-459
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

Impact: multer versions 2.0.0-alpha.1 through 2.1.1 and 3.0.0-alpha.1 are vulnerable to a Denial of Service when using diskStorage. Aborted or malformed multipart uploads leave orphaned partial files on disk because the Readable.pipe() call does not propagate the stream destroy signal to the underlying fs.WriteStream. An attacker can exhaust disk space by triggering many aborted uploads, with no application bug required. Patches: Users should upgrade to multer 2.2.0 (2.x line) or 3.0.0-alpha.2 (3.x prerelease). Both versions track in-flight write streams and clean them up on the abort path. Workarounds: None.

Original NVD text.

What to do

  1. Apply the vendor's security update for Multer.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm multer ≥ 2.0.0-alpha.1 < 2.2.0 2.2.0 npm install multer@2.2.0
npm multer ≥ 3.0.0-alpha.1 < 3.0.0-alpha.2 3.0.0-alpha.2 npm install multer@3.0.0-alpha.2

Per OSV / GitHub Advisories (GHSA-3p4h-7m6x-2hcm). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
expressjsmulter≥ 2.0.0 < 2.2.0
expressjsmulter3.0.0

Official sources

References

Links published by the sources. Open them with care.