Fastify file uploads can hang on a 67 KB request — update @fastify/busboy to 3.2.7
A single unauthenticated upload of about 67 KB can stall @fastify/busboy forever, leaving Fastify file uploads hanging. Version 3.2.7, released 2 December 2026, fixes it.

Affects
- @fastify/busboy
Tracked as
CVE-2026-135275@fastify/busboy · CVSS 7.5
A single small file upload can freeze a Fastify server’s upload handling for good. The flaw, CVE-2026-135275, sits in @fastify/busboy, the streaming parser that reads multipart form data for Fastify’s file-upload plugin. Send one crafted upload of about 67 KB — no login needed — and the request never finishes, even after the sender disconnects. Version 3.2.7, released on 2 December 2026, fixes it.
- 67 KBOne upload is enough
- 7.5CVSS score, High
- 3.2.7Fixed version
- 1.0.0–3.2.6Versions affected
How the stall happens
Multipart uploads arrive as a series of parts, and the parser skips some of them — a part with a broken or missing Content-Disposition header, for instance, or one that arrives after a configured limit on files, fields, or parts has been reached. Normally a skipped part is simply discarded. The flaw appears when the skipped part is the last one in the request and carries at least one full stream buffer of data: 65,536 bytes on Linux, 16,384 on Windows.
In that case the parser holds on to a write callback it never releases. The closing boundary of the request arrives in the same chunk, so the part’s stream has already ended and is never read again. The parser then waits for an event that will never come: it emits neither a finish nor an error, and the upload request stays open indefinitely. Through @fastify/multipart 10.1.9, that means the Fastify handler for the upload never settles — not even when the client gives up and disconnects.
Who is affected
Any application that feeds untrusted multipart form data to @fastify/busboy is affected — directly, or through @fastify/multipart. Versions 1.0.0 through 3.2.6 of @fastify/busboy carry the flaw. This is a defect in the upload parser itself, not in Fastify’s proxy or routing code, so it reaches any service that accepts file uploads through these libraries.
What to do
Close the flaw
Upgrade @fastify/busboy to 3.2.7 or later
That is the fix. If you use @fastify/multipart, move to a release that bundles the patched parser.
Set handlerTimeout as a stopgap
If you cannot upgrade right away, give Fastify a handler timeout so a hung upload handler is eventually killed and its resources released.
Do not rely on request limits alone
There is no complete application-level workaround, because the stall happens inside the parser. Size limits will not stop it — the trigger upload is only about 67 KB.
const fastify = Fastify({
handlerTimeout: 30000
})
The timeout above is only a safety net: it bounds the damage from a hung handler, it does not fix the parser. Upgrading to 3.2.7 is the repair. The full details are in the security advisory.
Sources
- @fastify/busboy vulnerable to Denial of Service via a skipped last part that fills its stream bufferGitHub


