CVE-2026-18549
published high CVSS 3.1 · 7.5@fastify/multipart vulnerable to Denial of Service via aborted upload after fileSize limit
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| @fastify/multipart | — | @fastify/multipart5.3.0 to < 10.1.1 (affected · semver) · 10.1.1 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
Description
@fastify/multipart is a multipart form-data parser for Fastify. In versions from 5.3.0 up to but not including 10.1.1, when the busboy fileSize limit truncates a file part, the plugin clears its internal current-file reference while the underlying stream is still open. If the client then aborts the connection before sending the terminating boundary, the abort cleanup finds no stream to destroy, so saveRequestFiles() never settles, the request handler hangs, and the temporary file already written to disk is never cleaned up. An unauthenticated client can repeat this to permanently leak temporary files and suspended handler executions, leading to disk and event-loop exhaustion. The issue is fixed in @fastify/multipart 10.1.1. Users should upgrade to 10.1.1.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| @fastify/multipart | @fastify/multipart | 5.3.0 to < 10.1.1 (affected · semver)10.1.1 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
2- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-664 CWE-664: Improper Control of a Resource Through its Lifetime
References
2Provider assertions
2openjs · cna
@fastify/multipart vulnerable to Denial of Service via aborted upload after fileSize limit
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- abb8b8a48ad351476334a79311e11fa8b31e4a4ff08fdba2d11a8cfd77ad287b
- Ingested
- 23 Sep 2026, 09:03:19 UTC
- Source record
- Official CVE record