{"id":"GHSA-x8mw-p69m-v3mx","summary":"@fastify/busboy vulnerable to Denial of Service via prototype-named multipart part header","details":"### Impact\n\nVersions 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.\n\n### Patches\n\nFixed in version 3.2.1.\n\n### Workarounds\n\nAttach 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.","aliases":["CVE-2026-19481"],"modified":"2026-10-02T23:30:05.651087437Z","published":"2026-10-02T23:16:36Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2026-10-02T23:16:36Z","nvd_published_at":"2026-08-13T09:17:12Z","cwe_ids":["CWE-754"]},"references":[{"type":"WEB","url":"https://github.com/fastify/busboy/security/advisories/GHSA-x8mw-p69m-v3mx"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-19481"},{"type":"WEB","url":"https://github.com/fastify/busboy/commit/957a24b66d5915e6d0a6ac988c9dbcee86373e9b"},{"type":"WEB","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"PACKAGE","url":"https://github.com/fastify/busboy"},{"type":"WEB","url":"https://github.com/fastify/busboy/releases/tag/v3.2.1"}],"affected":[{"package":{"name":"@fastify/busboy","ecosystem":"npm","purl":"pkg:npm/%40fastify/busboy"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.0.0"},{"fixed":"3.2.1"}]}],"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"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}