CVE-2026-5038Expressjs Multer
High 7.5 No auth needed
Follow: this CVE · Expressjs · Expressjs Multer We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Multer.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| expressjs | multer | ≥ 2.0.0 < 2.2.0 |
| expressjs | multer | 3.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- cna.openjsf.org Vendor Advisory
- github.com Vendor Advisory