CVE-2026-117531
@fastify/multipart vulnerable to Denial of Service via a malformed upload hanging delayed file consumers
Mitigation
- Upgrade @fastify/multipart to 10.1.7 or later.
Who should check
- Anyone running @fastify/multipart >= 5.3.0, < 10.1.7
Vulnerability facts
- Affected
- @fastify/multipart >= 5.3.0, < 10.1.7
- Fixed in
- @fastify/multipart 10.1.7
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 5.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.41% chance of exploitation in 30 days (percentile 27, 2026-11-26)
- CWE
- CWE-400
- Modified
Description
@fastify/multipart is the multipart form-data and file upload plugin for the Fastify web framework. In versions 5.3.0 through 10.1.6, the plugin does not propagate a parser error to the file stream when a request body ends inside a file part with no closing boundary, even though the Content-Length is complete, the client does not abort, and no file size limit is exceeded. The plugin destroys the in-progress file stream without an error, so a handler that iterates the request parts and performs asynchronous work before consuming the file attaches to a stream that never emits an error or end event, and the request never responds while the connection stays open. An unauthenticated remote client can repeat these malformed uploads against such a route to accumulate pending connections and exhaust server resources, so the impact is availability only and exploitation depends on the application using a delayed file consumer. The issue is fixed in @fastify/multipart 10.1.7, where the parser error is propagated to the file stream so a delayed consumer settles with an error instead of hanging, and users should upgrade to 10.1.7 or later. There is no workaround other than upgrading.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| @fastify/multipart | >= 5.3.0, < 10.1.7 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-117531. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-117531.md Affected: @fastify/multipart >= 5.3.0, < 10.1.7 Fixed in: @fastify/multipart 10.1.7 Steps: 1. Search this machine and project for @fastify/multipart: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-117531 being exploited?
There is no confirmed exploitation: CVE-2026-117531 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.41% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-117531?
Medium: CVSS 5.9 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2026-117531?
@fastify/multipart >= 5.3.0, < 10.1.7.
Is there a fix for CVE-2026-117531?
Yes. Fixed in @fastify/multipart 10.1.7. Upgrade @fastify/multipart to 10.1.7 or later.
How do I check if I'm affected by CVE-2026-117531?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.