{"id":"CVE-2026-110710","kind":"vulnerability","aliases":["CVE-2026-110710"],"related":[],"title":"@fastify/multipart: disconnected uploads leave temp files on disk","description":"@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.","summary":"When a client finishes an upload and disconnects before the handler replies, saveRequestFiles temp files are never cleaned up. An unauthenticated client can repeat this to fill the disk and deny service.","severity":"high","cvss":7.5,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["fastify","file-uploads","node","package","self-hosted"],"not_affected_if":["no-saverequestfiles","trusted-clients-only","version-10.1.4-or-later"],"how_to_check":"- Check the installed version with `npm ls @fastify/multipart` and compare it against the fixed release.\n- Look for use of `saveRequestFiles` in the application code.","fix":"- `@fastify/multipart` `10.1.4` or later.","status":"open","published_at":"2026-11-16T13:17:18+00:00","first_seen_at":"2026-11-16T13:37:55+00:00","triaged_at":"2026-11-16T13:38:44+00:00","updated_at":"2026-11-16T13:38:44+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-11-16T13:38:44Z","model":"claude-haiku-5-5","output":{"fix":"- `@fastify/multipart` `10.1.4` or later.","reach":"internet","title":"@fastify/multipart: disconnected uploads leave temp files on disk","impact":"medium","summary":"When a client finishes an upload and disconnects before the handler replies, saveRequestFiles temp files are never cleaned up. An unauthenticated client can repeat this to fill the disk and deny service.","audience":"developers","category":"package","nicknames":[],"who_cares":["fastify","node","self-hosted","file-uploads"],"confidence":0.8,"fix_status":"available","needs_auth":"no","worst_case":"Remote clients fill server disk with leftover uploaded files","analyst_note":"","how_to_check":"- Check the installed version with `npm ls @fastify/multipart` and compare it against the fixed release.\n- Look for use of `saveRequestFiles` in the application code.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["no-saveRequestFiles","trusted-clients-only","version-10.1.4-or-later"],"who_is_affected":"Applications built on Fastify that use @fastify/multipart with saveRequestFiles to write uploaded files to disk are exposed. Applications that do not save request files, or that only accept uploads from trusted clients, are less exposed. The workaround stated in the sources is to avoid saving request files for untrusted clients, or to clean saved files from a close handler on the raw response.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"high"},"cost_usd":0.000749,"input_tokens":4760,"output_tokens":547,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-110710':11A,14A '-2026':10A,13A '10.1.3':70C '10.1.4':167C,173C '3.0.0':68C 'also':201C 'applic':154C 'avoid':179C 'cheapli':145C 'clean':41B,187C 'cleanup':127C 'client':26B,45B,95C,141C,185C,205C 'close':124C,193C 'complet':96C 'cve':9A,12A 'deni':54B,151C 'disconnect':2A,31B,101C,206C 'disk':8A,52B,138C,148C,160C 'emit':122C 'error':92C 'event':125C 'exampl':109C 'exhaust':147C 'fastifi':15B,60C 'fastify/multipart':1A,56C,166C 'file':6A,17B,38B,72C,118C,134C,158C,182C,190C 'file-upload':16B 'fill':50B 'finish':27B,90C 'fix':164C 'forward':116C 'handl':63C 'handler':34B,104C,112C,194C 'happen':202C 'hash':114C 'helper':77C 'hook':84C,128C 'host':23B 'issu':162C 'later':175C 'leav':4A 'left':136C 'multipart/form-data':64C 'never':40B,129C 'node':19B 'offici':59C 'packag':20B 'plugin':61C 'raw':197C 'remov':79C,200C 'repeat':47B,143C 'repli':35B,107C 'request':181C 'respons':83C,89C,120C,198C 'run':86C,130C 'save':133C,156C,180C,189C 'saverequestfil':36B,76C 'scan':113C 'self':22B 'self-host':21B 'servic':55B,152C 'space':149C 'temp':5A,37B 'temporari':71C 'unauthent':44B,140C 'untrust':184C 'upgrad':171C 'upload':3A,18B,29B,65C,98C,157C 'user':169C 'version':67C 'workaround':178C 'write':105C 'written':73C","nicknames":[],"mitigations":[],"who_affected":"Applications built on Fastify that use @fastify/multipart with saveRequestFiles to write uploaded files to disk are exposed. Applications that do not save request files, or that only accept uploads from trusted clients, are less exposed. The workaround stated in the sources is to avoid saving request files for untrusted clients, or to clean saved files from a close handler on the raw response.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["fastify","fileuploads","high","node","package","selfhosted"],"campaign_type":null,"search_a":"'-110710':11A,14A '-2026':10A,13A 'cve':9A,12A 'disconnect':2A 'disk':8A 'fastify/multipart':1A 'file':6A 'leav':4A 'temp':5A 'upload':3A","search_b":"'clean':41B 'client':26B,45B 'deni':54B 'disconnect':31B 'disk':52B 'fastifi':15B 'file':17B,38B 'file-upload':16B 'fill':50B 'finish':27B 'handler':34B 'host':23B 'never':40B 'node':19B 'packag':20B 'repeat':47B 'repli':35B 'saverequestfil':36B 'self':22B 'self-host':21B 'servic':55B 'temp':37B 'unauthent':44B 'upload':18B,29B","search_c":"'10.1.3':70C '10.1.4':167C,173C '3.0.0':68C 'also':201C 'applic':154C 'avoid':179C 'cheapli':145C 'clean':187C 'cleanup':127C 'client':95C,141C,185C,205C 'close':124C,193C 'complet':96C 'deni':151C 'disconnect':101C,206C 'disk':138C,148C,160C 'emit':122C 'error':92C 'event':125C 'exampl':109C 'exhaust':147C 'fastifi':60C 'fastify/multipart':56C,166C 'file':72C,118C,134C,158C,182C,190C 'finish':90C 'fix':164C 'forward':116C 'handl':63C 'handler':104C,112C,194C 'happen':202C 'hash':114C 'helper':77C 'hook':84C,128C 'issu':162C 'later':175C 'left':136C 'multipart/form-data':64C 'never':129C 'offici':59C 'plugin':61C 'raw':197C 'remov':79C,200C 'repeat':143C 'repli':107C 'request':181C 'respons':83C,89C,120C,198C 'run':86C,130C 'save':133C,156C,180C,189C 'saverequestfil':76C 'scan':113C 'servic':152C 'space':149C 'temporari':71C 'unauthent':140C 'untrust':184C 'upgrad':171C 'upload':65C,98C,157C 'user':169C 'version':67C 'workaround':178C 'write':105C 'written':73C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T10:52:20+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cvss_by":"ce714d77-add3-4f53-aff5-83d477b104bb","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-110710","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-110710","severity":null,"published_at":"2026-11-16T13:17:18+00:00","modified_at":"2026-11-16T13:17:18+00:00","first_seen_at":"2026-11-16T13:37:55+00:00","fetched_at":"2026-11-16T13:37:55+00:00","note":null}],"documents":[{"id":169786,"url":"https://github.com/fastify/fastify-multipart/security/advisories/GHSA-r9rg-mfh6-f225","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-11-16T10:52:20+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}