CVE-2026-124289

HighCVSS 7.5/10Last modified Nov 17, 2026

Description

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

Metrics

CVSS 3.1 7.5/10CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
@fastify/multipart@fastify/multipart>= 7.4.0, < 10.1.9

References

Timeline

Published
Nov 16, 2026
Last modified
Nov 17, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-1242905.9Net::Server versions through 2.018 for Perl allow CPU exhaustion via a read_until loop that keeps reading after the client disconnects. reaCVE-2026-1242914.3Net::Server::Proto::SSL versions through 2.018 for Perl allow clients to hold server processes indefinitely via a TLS handshake that has no CVE-2026-1242927.8Net::Server versions through 2.018 for Perl allow the run-as account to take ownership of any file via a symlink at the log or pid file pathCVE-2026-1242936.5Net::Server::Thread versions through 2.018 for Perl start a handler thread for every connection regardless of max_servers and exit when threCVE-2026-1242949.8Net::Server versions through 2.018 for Perl admit unlisted clients when an allow rule contains top-level alternation, as allow_deny anchors CVE-2026-1242957.5Net::Server::PSGI versions through 2.018 for Perl allow one malformed request to kill a worker or stop a single-process server, as process_rCVE-2026-1242969.1Net::Server::HTTP versions through 2.018 for Perl allow a single request to abort a worker with out-of-memory via the client's Content-LengtCVE-2026-1242977.5Net::Server::Proto::SSLEAY versions through 2.018 for Perl skip client certificate verification by silently ignoring the verify mode, CA andCVE-2026-124298Net::Server versions through 2.018 for Perl keep root's group privileges after the privilege drop when user is set without group. When grouCVE-2026-1242999.1Net::Server versions through 2.018 for Perl allow file access outside the chroot jail via relative paths when post_bind calls chroot withoutCVE-2026-12435.4IBM Content Navigator 3.0.15, 3.1.0, and 3.2.0 is vulnerable to cross-site scripting. This vulnerability allows an authenticated user to embCVE-2026-124304.4The Blocksy Companion plugin for WordPress is vulnerable to Stored Cross-Site Scripting via admin settings in all versions up to, and includ
CVE-2026-124289: High severity, CVSS 7.5 | Vulnix