{"id":"CVE-2026-128846","kind":"vulnerability","aliases":["CVE-2026-128846"],"related":[],"title":"@fastify/busboy: split multipart headers let uploads bypass file-event validation","description":"@fastify/busboy is a streaming parser for multipart form data used by Fastify. In versions 3.2.1 through 3.2.5, the parser can interpret the same multipart bytes differently depending on how they are split across socket reads: when the sequence that terminates a part's header block arrives split exactly at the configured header size limit, an off by one error drops the final header line, so a part declared as a binary file attachment is emitted as an ordinary text field instead of a file. A remote client controls both the multipart body and the header padding needed to reach the boundary and can influence segmentation, so an application that applies upload validation such as malware scanning or extension checks only to file events while trusting plain field values may process the payload through the wrong path. The parser level type confusion is fully reproducible, while the downstream validation bypass depends on the application. The issue is fixed in @fastify/busboy 3.2.6, which tracks how many terminator bytes were actually buffered when the limit is reached so a split terminator no longer corrupts the final header, and users should upgrade to 3.2.6 or later. As a workaround, apply the same validation to field values as to file uploads rather than treating file events as a trust boundary.","summary":"A multipart parser bug in @fastify/busboy can treat a binary file attachment as a plain text field when the header terminator is split at the header size limit. An application that scans or checks only file events may then process the upload without those checks.","severity":"low","cvss":3.7,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["fastify","node","package","self-hosted"],"not_affected_if":["no-multipart-uploads","validates-all-parts"],"how_to_check":"- Check the installed version with `npm ls @fastify/busboy` in the project.\n- Look for `@fastify/busboy` versions `3.2.1` through `3.2.5` in the lockfile.\n- Find which apps use Fastify multipart uploads and check whether they validate only file events.","fix":"- @fastify/busboy: upgrade to `3.2.6` or later.\n- Workaround from the sources: apply the same validation to field values as to file uploads.","status":"open","published_at":"2026-11-16T14:17:06+00:00","first_seen_at":"2026-11-16T14:36:59+00:00","triaged_at":"2026-11-16T14:37:29+00:00","updated_at":"2026-11-16T14:37:29+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-11-16T14:37:29Z","model":"claude-haiku-5-5","output":{"fix":"- @fastify/busboy: upgrade to `3.2.6` or later.\n- Workaround from the sources: apply the same validation to field values as to file uploads.","reach":"internet","title":"@fastify/busboy: split multipart headers let uploads bypass file-event validation","impact":"medium","summary":"A multipart parser bug in @fastify/busboy can treat a binary file attachment as a plain text field when the header terminator is split at the header size limit. An application that scans or checks only file events may then process the upload without those checks.","audience":"developers","category":"package","nicknames":[],"who_cares":["fastify","node","self-hosted"],"confidence":0.6,"fix_status":"available","needs_auth":"no","worst_case":"uploaded files bypass file-event validation like malware scanning","analyst_note":"Check the vendor advisory linked from the GitHub advisory to confirm the affected range and whether the downstream bypass needs any specific application pattern.","how_to_check":"- Check the installed version with `npm ls @fastify/busboy` in the project.\n- Look for `@fastify/busboy` versions `3.2.1` through `3.2.5` in the lockfile.\n- Find which apps use Fastify multipart uploads and check whether they validate only file events.","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["no-multipart-uploads","validates-all-parts"],"who_is_affected":"Applications built on Fastify that accept multipart form uploads through @fastify/busboy versions 3.2.1 to 3.2.5. The exposure depends on the application: if upload validation such as malware scanning or extension checks runs only on file events and trusts plain field values, a crafted request can route a file through the field path. Apps that do not accept multipart uploads, or that validate every part regardless of type, are less exposed.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"low"},"cost_usd":0.000812,"input_tokens":4838,"output_tokens":656,"severity_before":"low"},"analyst_status":null,"analyst_note":null,"search":"'-128846':14A,17A '-2026':13A,16A '3.2.1':83C '3.2.5':85C '3.2.6':228C,258C 'across':101C 'actual':236C 'appli':178C,264C 'applic':53B,176C,221C 'arriv':114C 'attach':35B,141C 'binari':33B,139C 'block':113C 'bodi':160C 'boundari':169C,283C 'buffer':237C 'bug':27B 'bypass':7A,217C 'byte':93C,234C 'check':57B,68B,187C 'client':155C 'configur':119C 'confus':209C 'control':156C 'corrupt':249C 'cve':12A,15A 'data':77C 'declar':136C 'depend':95C,218C 'differ':94C 'downstream':215C 'drop':128C 'emit':143C 'error':127C 'event':10A,60B,191C,279C 'exact':116C 'extens':186C 'fastifi':18B,80C 'fastify/busboy':1A,29B,69C,227C 'field':40B,148C,195C,269C 'file':9A,34B,59B,140C,152C,190C,273C,278C 'file-ev':8A 'final':130C,251C 'fix':225C 'form':76C 'fulli':211C 'header':4A,43B,49B,112C,120C,131C,163C,252C 'host':23B 'influenc':172C 'instead':149C 'interpret':89C 'issu':223C 'later':260C 'let':5A 'level':207C 'limit':51B,122C,240C 'line':132C 'longer':248C 'malwar':183C 'mani':232C 'may':61B,197C 'multipart':3A,25B,75C,92C,159C 'need':165C 'node':19B 'one':126C 'ordinari':146C 'packag':20B 'pad':164C 'parser':26B,73C,87C,206C 'part':110C,135C 'path':204C 'payload':200C 'plain':38B,194C 'process':63B,198C 'rather':275C 'reach':167C,242C 'read':103C 'remot':154C 'reproduc':212C 'scan':55B,184C 'segment':173C 'self':22B 'self-host':21B 'sequenc':106C 'size':50B,121C 'socket':102C 'split':2A,46B,100C,115C,245C 'stream':72C 'termin':44B,108C,233C,246C 'text':39B,147C 'track':230C 'treat':31B,277C 'trust':193C,282C 'type':208C 'upgrad':256C 'upload':6A,65B,179C,274C 'use':78C 'user':254C 'valid':11A,180C,216C,267C 'valu':196C,270C 'version':82C 'without':66B 'workaround':263C 'wrong':203C","nicknames":[],"mitigations":[],"who_affected":"Applications built on Fastify that accept multipart form uploads through @fastify/busboy versions 3.2.1 to 3.2.5. The exposure depends on the application: if upload validation such as malware scanning or extension checks runs only on file events and trusts plain field values, a crafted request can route a file through the field path. Apps that do not accept multipart uploads, or that validate every part regardless of type, are less exposed.","tier":"C","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":[],"ptokens":[],"labels":["fastify","low","node","package","selfhosted"],"campaign_type":null,"search_a":"'-128846':14A,17A '-2026':13A,16A 'bypass':7A 'cve':12A,15A 'event':10A 'fastify/busboy':1A 'file':9A 'file-ev':8A 'header':4A 'let':5A 'multipart':3A 'split':2A 'upload':6A 'valid':11A","search_b":"'applic':53B 'attach':35B 'binari':33B 'bug':27B 'check':57B,68B 'event':60B 'fastifi':18B 'fastify/busboy':29B 'field':40B 'file':34B,59B 'header':43B,49B 'host':23B 'limit':51B 'may':61B 'multipart':25B 'node':19B 'packag':20B 'parser':26B 'plain':38B 'process':63B 'scan':55B 'self':22B 'self-host':21B 'size':50B 'split':46B 'termin':44B 'text':39B 'treat':31B 'upload':65B 'without':66B","search_c":"'3.2.1':83C '3.2.5':85C '3.2.6':228C,258C 'across':101C 'actual':236C 'appli':178C,264C 'applic':176C,221C 'arriv':114C 'attach':141C 'binari':139C 'block':113C 'bodi':160C 'boundari':169C,283C 'buffer':237C 'bypass':217C 'byte':93C,234C 'check':187C 'client':155C 'configur':119C 'confus':209C 'control':156C 'corrupt':249C 'data':77C 'declar':136C 'depend':95C,218C 'differ':94C 'downstream':215C 'drop':128C 'emit':143C 'error':127C 'event':191C,279C 'exact':116C 'extens':186C 'fastifi':80C 'fastify/busboy':69C,227C 'field':148C,195C,269C 'file':140C,152C,190C,273C,278C 'final':130C,251C 'fix':225C 'form':76C 'fulli':211C 'header':112C,120C,131C,163C,252C 'influenc':172C 'instead':149C 'interpret':89C 'issu':223C 'later':260C 'level':207C 'limit':122C,240C 'line':132C 'longer':248C 'malwar':183C 'mani':232C 'may':197C 'multipart':75C,92C,159C 'need':165C 'one':126C 'ordinari':146C 'pad':164C 'parser':73C,87C,206C 'part':110C,135C 'path':204C 'payload':200C 'plain':194C 'process':198C 'rather':275C 'reach':167C,242C 'read':103C 'remot':154C 'reproduc':212C 'scan':184C 'segment':173C 'sequenc':106C 'size':121C 'socket':102C 'split':100C,115C,245C 'stream':72C 'termin':108C,233C,246C 'text':147C 'track':230C 'treat':277C 'trust':193C,282C 'type':208C 'upgrad':256C 'upload':179C,274C 'use':78C 'user':254C 'valid':180C,216C,267C 'valu':196C,270C 'version':82C 'workaround':263C 'wrong':203C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-11-16T09:46:42+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","cvss_by":"ce714d77-add3-4f53-aff5-83d477b104bb","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-128846","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128846","severity":null,"published_at":"2026-11-16T14:17:06+00:00","modified_at":"2026-11-16T14:17:06+00:00","first_seen_at":"2026-11-16T14:36:59+00:00","fetched_at":"2026-11-16T14:36:59+00:00","note":null}],"documents":[{"id":169985,"url":"https://github.com/fastify/busboy/security/advisories/GHSA-2q57-jvxc-h47j","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-11-16T09:46:42+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"}