@fastify/busboy vulnerable to Denial of Service via prototype-named multipart part header (CVE-2026-19481)
@fastify/busboy versions from 1.0.0 up to but not including 3.2.1 are vulnerable to a denial of service (DoS) caused by multipart header names that collide with JavaScript prototype properties. This leads to a TypeError and can crash the Node.js process if unhandled. The vulnerability affects any unauthenticated client able to submit multipart/form-data requests. The issue is fixed in version 3.2.1.
AI Analysis
Technical Summary
The multipart header parser in @fastify/busboy stores part-header names on a plain JavaScript object. If a multipart part header is named '__proto__' or 'constructor', it resolves to an inherited prototype value rather than an array, causing a TypeError when the parser attempts to push to it. This error surfaces as an 'error' event in the documented req.pipe(busboy) integration or throws synchronously during direct write()/end() calls, potentially terminating the Node.js process if uncaught. The parser runs before application middleware, allowing any unauthenticated client submitting multipart/form-data to trigger the denial of service. The vulnerability is fixed in version 3.2.1.
Potential Impact
An attacker can cause a denial of service by sending specially crafted multipart/form-data requests with headers named '__proto__' or 'constructor'. This triggers a TypeError in the parser, which can crash the Node.js process if the error is not properly handled. The vulnerability affects all users of @fastify/busboy versions >=1.0.0 and <3.2.1, potentially leading to service outages.
Mitigation Recommendations
Upgrade @fastify/busboy to version 3.2.1 or later to fully resolve the issue. As a workaround, attach an 'error' event listener to the Busboy stream to handle parser failures gracefully and wrap direct write()/end() calls in try/catch blocks to prevent process termination. However, upgrading is the recommended and complete fix.
@fastify/busboy vulnerable to Denial of Service via prototype-named multipart part header (CVE-2026-19481)
Description
@fastify/busboy versions from 1.0.0 up to but not including 3.2.1 are vulnerable to a denial of service (DoS) caused by multipart header names that collide with JavaScript prototype properties. This leads to a TypeError and can crash the Node.js process if unhandled. The vulnerability affects any unauthenticated client able to submit multipart/form-data requests. The issue is fixed in version 3.2.1.
CVSS v3.1
Score 7.5high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The multipart header parser in @fastify/busboy stores part-header names on a plain JavaScript object. If a multipart part header is named '__proto__' or 'constructor', it resolves to an inherited prototype value rather than an array, causing a TypeError when the parser attempts to push to it. This error surfaces as an 'error' event in the documented req.pipe(busboy) integration or throws synchronously during direct write()/end() calls, potentially terminating the Node.js process if uncaught. The parser runs before application middleware, allowing any unauthenticated client submitting multipart/form-data to trigger the denial of service. The vulnerability is fixed in version 3.2.1.
Potential Impact
An attacker can cause a denial of service by sending specially crafted multipart/form-data requests with headers named '__proto__' or 'constructor'. This triggers a TypeError in the parser, which can crash the Node.js process if the error is not properly handled. The vulnerability affects all users of @fastify/busboy versions >=1.0.0 and <3.2.1, potentially leading to service outages.
Mitigation Recommendations
Upgrade @fastify/busboy to version 3.2.1 or later to fully resolve the issue. As a workaround, attach an 'error' event listener to the Busboy stream to handle parser failures gracefully and wrap direct write()/end() calls in try/catch blocks to prevent process termination. However, upgrading is the recommended and complete fix.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-x8mw-p69m-v3mx
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-19481"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6ac139a9a43b0b3b89d69ac8
Added to database: 10/03/2026, 17:21:45 UTC
Last enriched: 10/03/2026, 17:38:33 UTC
Last updated: 10/04/2026, 02:49:17 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.