Patch Ticker
日本語日
警戒

@fastify/multipart arbitrary relative-path file write in upload handling

CVE-2026-124289

Upload helpers in some Fastify apps let attackers save files anywhere.

CVE
CVE-2026-124289(新しいタブで開きます)
スコア
CVSS 7.5
初確認

対処法

Update @fastify/multipart to 10.1.9 or later. Until then, call saveRequestFiles only after confirming the request is multipart, and reduce each returned filename to its basename or validate it against an allowlist.

要約

A forged object in the request body can make the plugin save attacker-chosen bytes under an attacker-chosen filename. Filenames with parent directory segments can then write files to arbitrary locations, affecting versions 7.4.0 through 10.1.8.

該当する条件

  • attachFieldsToBody option enabled
  • app uses the filename from saveRequestFiles as a write destination

この製品の過去30日間のほかのインシデント 1件

製品別のインシデント: @fastify/multipart

@fastify/multipart のほかの最近のインシデント

2026-11-16 のインシデント一覧

CVE レコードを読む · cve.org(新しいタブで開きます)