CVE-2026-19474

@fastify/multipart vulnerable to Denial of Service via temporary file leak on aborted upload

State
Published
Severity
7.5 High
Published
Aug 15, 2026
Updated
Aug 17, 2026
Reserved
Aug 10, 2026

Read the record on cve.org

Description

@fastify/multipart is a multipart form-data parser for Fastify. In versions from 3.0.0 up to but not including 10.1.1, request.saveRequestFiles() can leave completed temporary files on disk when a client disconnects while the parser is advancing between multipart parts. The iterator rejection that occurs between parts falls outside the per-file cleanup path, so an earlier completed file is never removed. An unauthenticated client can repeat this to cause persistent, linear disk consumption, leading to denial of service. This is an incomplete-fix variant of CVE-2025-24033. The issue is fixed in @fastify/multipart 10.1.1. Users should upgrade to 10.1.1.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hopenjs

Weaknesses

  • CWE-459 Incomplete Cleanup
  • CWE-770 Allocation of Resources Without Limits or Throttling

Affected Products

ProductVersions
@fastify/multipart@fastify/multipart
  • 3.0.0 to before 10.1.1Affected
  • 10.1.1Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.