{"id":"GHSA-x8mw-p69m-v3mx","revision":"767839d0d9b14ef1b4bbf1f7e5edca16","records":[{"revision":"767839d0d9b14ef1b4bbf1f7e5edca16","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-x8mw-p69m-v3mx","aliases":["CVE-2026-19481"],"title":"@fastify/busboy vulnerable to Denial of Service via prototype-named multipart part header","description":"### 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.","state":0,"publishedAt":"2026-10-02T23:16:36+00:00","modifiedAt":"2026-10-02T23:30:05.6510874+00:00","affected":[{"ecosystem":"npm","name":"@fastify/busboy","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.0.0"},{"kind":"fixed","version":"3.2.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/fastify/busboy/security/advisories/GHSA-x8mw-p69m-v3mx","https://nvd.nist.gov/vuln/detail/CVE-2026-19481","https://github.com/fastify/busboy/commit/957a24b66d5915e6d0a6ac988c9dbcee86373e9b","https://cna.openjsf.org/security-advisories.html","https://github.com/fastify/busboy","https://github.com/fastify/busboy/releases/tag/v3.2.1"],"sourceUrl":"https://github.com/advisories/GHSA-x8mw-p69m-v3mx","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-x8mw-p69m-v3mx","identifiers":["GHSA-x8mw-p69m-v3mx","CVE-2026-19481"]},"retained":false,"historicalAffected":[]}],"coverage":[]}