@fastify/busboy vulnerable to Denial of Service via prototype-named multipart part header
### Impact Versions of `@fastify/busboy` from 1.0.0 and prior to 3.2.1 are vulnerable to a Denial of Service. The multipart header parser stores part-header names on a plain JavaScript object, so a part header named `__proto__` or `constructor` resolves to an inherited value that is not an array, and the parser throws `TypeError: this.header[h].push is not a function`. Through the documented `req.pipe(busboy)` integration this surfaces as an `error` event, while direct `write()`/`end()` usage throws synchronously and can terminate the Node.js process if uncaught. The parser runs before application middleware, so any unauthenticated client that can submit multipart/form-data is affected. ### Patches Fixed in version 3.2.1. ### Workarounds Attach an `error` listener to the Busboy stream so the parser failure is handled rather than crashing the process, and wrap direct `write()`/`end()` calls in a try/catch. Upgrading to 3.2.1 removes the failure entirely.
GHSA-x8mw-p69m-v3mx
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:GHSA-x8mw-p69m-v3mx
@fastify/busboy
Source reference: /affected/0/package/name
- Affected versions
- Not stated in this record
- Fixed versions
- 3.2.1
Source reference:
/affected/0/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.0.0"
},
{
"fixed": "3.2.1"
}
]
}
],
"package": {
"name": "@fastify/busboy",
"purl": "pkg:npm/%40fastify/busboy",
"ecosystem": "npm"
},
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-x8mw-p69m-v3mx/GHSA-x8mw-p69m-v3mx.json"
}
}
]- Related CVEs
- CVE-2026-19481
Source reference:
/aliases
Publisher severity
high
Source reference: /database_specific/severity
- Event
- #72763 · Revision 1
- Added to Heist Feed
- Publisher date