Approved changes feed: RSS · Atom

cpe:2.3:a:@fastify/multipart:@fastify/multipart:*:*:*:*:*:*:*:*

part: a version: * update: *

Vendor@Fastify/Multipart (506bf828-a7d4-5d75-93e7-52f72456b8a9)
Product@Fastify/Multipart (e4c3dbb1-2d37-58f9-8ce5-645dc2f1c4e3)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-124289 vulnerable 2026-11-19 05:29:15.573469 @fastify/multipart vulnerable to arbitrary file write via type confusion in saveRequestFiles()
HIGH (7.5)
@fastify/multipart is the official Fastify plugin for handling multipart/form-data uploads. In versions 7.4.0 through 10.1.8, when the plugin is registered with the attachFieldsToBody option, the saveRequestFiles helper treats any object in the parsed request body that carries truthy file and buffer properties as an uploaded file. An unauthenticated client can forge such an object through a plain JSON request or a JSON-typed multipart field, so attacker-chosen bytes are written to the temporary directory while upload hooks and the file count and size limits are skipped, and the saved entry keeps the attacker's filename verbatim instead of being reduced to its basename. Because that filename can contain parent directory segments, applications that use it as a write destination, as the project README example does, are exposed to an arbitrary relative-path file write from a single request. The issue is fixed in @fastify/multipart 10.1.9, and users should upgrade to 10.1.9 or later. As a workaround, call saveRequestFiles only after confirming the request is multipart, and reduce each returned filename to its basename or validate it against an allowlist before using it as a destination.
Published: 2026-11-16T13:09:49.790Z
Updated: 2026-11-17T18:07:44.673Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-110710 vulnerable 2026-11-19 05:27:53.077323 @fastify/multipart vulnerable to Denial of Service via temporary file leak after client disconnect
HIGH (7.5)
@fastify/multipart is the official Fastify plugin for handling multipart/form-data uploads. In versions 3.0.0 through 10.1.3, temporary files written by the saveRequestFiles helper are removed only by a response hook that runs when the response finishes or errors. When a client completes an upload and then disconnects before the handler writes the reply, for example while the handler scans, hashes or forwards the file, the response only emits a close event, the cleanup hook never runs, and the saved files are left on disk. An unauthenticated client can repeat this cheaply to exhaust disk space and deny service to applications that save uploaded files to disk. The issue is fixed in @fastify/multipart 10.1.4, and users should upgrade to 10.1.4 or later. As a workaround, avoid saving request files for untrusted clients, or clean the saved files from a close handler on the raw response so removal also happens when the client disconnects.
Published: 2026-11-16T13:03:16.390Z
Updated: 2026-11-16T20:39:29.617Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.