Skip to content
RedCVE

CVE-2026-117531Fastify Multipart @fastify/multipart uncontrolled resource consumption

@fastify/multipartPublished:

CVSS score

5.9

Medium

CVSS 3.1 from ce714d77-add3-4f53-aff5-83d477b104bb

Exploit probability (EPSS)

0.33%

0.33% chance of exploitation in the next 30 days, higher than 26.5% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official 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.

Source: NVD · CNA: ce714d77-add3-4f53-aff5-83d477b104bb

How to fix it, step by step

  1. Check whether you're affected

    Find every system running @fastify/multipart and compare its version with the affected versions.

  2. Update to a fixed version

    • Update @fastify/multipart to 10.1.7 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

Affected productsVersions
@fastify/multipart @fastify/multipart≥ 5.3.0, < 10.1.7

Weakness

  • CWE-400 uncontrolled resource consumption

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-117531 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.3% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-117531?

CVE-2026-117531 has a CVSS 3.1 base score of 5.9 (medium).

Which versions are affected?

Fastify Multipart @fastify/multipart (≥ 5.3.0, < 10.1.7)

Is there a patch for CVE-2026-117531?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.