CVE-2026-128846 @fastify/busboy vulnerable to multipart file/field type confusion via chunk-dependent header parsing
Remote clients can send multipart data that bypasses upload validation like malware scanning or extension checks in Fastify apps using @fastify/busboy.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Harmful if only installed
- No
- Needs a specific call
- No
- Fix
- None listed
What is CVE-2026-128846?
CVE-2026-128846 is a low-severity security feature bypass vulnerability in @fastify/busboy, published on 16 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-193
Which versions are affected by CVE-2026-128846?
1 open source package ship an affected version, including %40fastify/busboy.
An affected version is exposed as installed. No special setting or call is needed.
| Package | Affected | Fixed in |
|---|---|---|
%40fastify/busboy npmpkg:npm/%40fastify/busboy | From 3.2.1 | 3.2.6 |
How do I fix CVE-2026-128846?
Upgrade %40fastify/busboy to 3.2.6 or later.
Upgrade to the fixed version, and do not rely on a single control for protection. More about Security feature bypass.
Is CVE-2026-128846 being exploited?
There is no known exploitation of CVE-2026-128846 in the wild and no public exploit code.
Sources
Also known as GHSA-2q57-jvxc-h47j, UBUNTU-CVE-2026-128846.