{"id":"CVE-2026-19481","aliases":["CVE-2026-19481","GHSA-x8mw-p69m-v3mx"],"related":[],"kind":"vulnerability","state":"published","title":"@fastify/busboy vulnerable to Denial of Service via prototype-named multipart part header","summary":"@fastify/busboy is a multipart form-data parser. In versions 1.0.0 through 3.2.0, an attacker who can submit multipart form-data can crash the parser by sending a part header whose name is a prototype-inherited property such as __proto__ or constructor. The internal header parser stores headers in a plain JavaScript object and assumes each value is an array, so an inherited property name resolves to a truthy non-array value and triggers a TypeError. In the common pipe integration the failure surfaces as an error event, but in direct write or end usage the exception is thrown synchronously and can terminate the Node.js process, causing an unauthenticated denial of service. The issue is fixed in @fastify/busboy 3.2.1, which creates the header object with a null prototype. Users should upgrade to 3.2.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"@fastify/busboy is a multipart form-data parser. In versions 1.0.0 through 3.2.0, an attacker who can submit multipart form-data can crash the parser by sending a part header whose name is a prototype-inherited property such as __proto__ or constructor. The internal header parser stores headers in a plain JavaScript object and assumes each value is an array, so an inherited property name resolves to a truthy non-array value and triggers a TypeError. In the common pipe integration the failure surfaces as an error event, but in direct write or end usage the exception is thrown synchronously and can terminate the Node.js process, causing an unauthenticated denial of service. The issue is fixed in @fastify/busboy 3.2.1, which creates the header object with a null prototype. Users should upgrade to 3.2.1.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"}],"published":"2026-08-13T08:31:25.413Z","modified":"2026-10-02T23:30:05.651Z","severity":{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-754"],"affected":[{"ranges":[{"type":"semver","introduced":"1.0.0","fixed":"3.2.1","status":"affected"},{"type":"semver","version":"3.2.1","status":"unaffected"}],"vendor":"@fastify/busboy","product":"@fastify/busboy","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.0.0","status":"affected","fixed":"3.2.1"}],"ecosystem":"npm","package":"@fastify/busboy","purl":"pkg:npm/%40fastify/busboy","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.0.0","fixed":"3.2.1"}],"vendor":"fastify","product":"fastify/busyboy","cpe":"cpe:2.3:a:fastify:fastify\\/busyboy:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/fastify/busboy/security/advisories/GHSA-x8mw-p69m-v3mx","tags":["mitigation","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-19481","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/fastify/busboy/commit/957a24b66d5915e6d0a6ac988c9dbcee86373e9b","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/fastify/busboy","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/fastify/busboy/releases/tag/v3.2.1","tags":["web"],"sources":["ghsa"]}],"credits":["kq5y","mcollina","UlisesGascon"],"assigner":"openjs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-13T14:25:06.775Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-19481","url":"https://www.cve.org/CVERecord?id=CVE-2026-19481","licence":"CVE Terms of Use","modified":"2026-08-13T14:25:29.262Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x8mw-p69m-v3mx","url":"https://github.com/advisories/GHSA-x8mw-p69m-v3mx","licence":"CC-BY-4.0","modified":"2026-10-02T23:30:05.651Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-19481","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-19481","licence":"Public domain","modified":"2026-09-03T19:16:01.753Z"}],"updatedAt":"2026-11-25T22:59:32.690Z","epss":{"score":0.00294,"percentile":0.23713,"date":"2026-12-02T12:00:21.000Z"}}