Intel

AIKIDO-2026-961622

@fastify/busboy is vulnerable to CRLF Injection

CRLF InjectionCVE-2026-74866 Published 2 days ago

58

Medium Risk

This Affects:

JS@fastify/busboy
0.0.1 - 3.2.1
Fixed in 3.2.2
Are you affected? Scan for Free

TL;DR

The multipart part-header parser splits header lines only on the two-byte carriage-return line-feed sequence, so a lone carriage return or line feed embedded in a Content-Disposition header is not treated as a line break. The bare control characters are passed directly into the parsed filename and field name values handed back to the application. Consuming code that trusts those values can suffer filesystem filename pollution, log forging, or header injection when the value is forwarded to a CR/LF-sensitive sink. The fix rejects header lines that still contain a bare carriage return or line feed and discards multipart field names and filenames that contain bare line breaks.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application processes untrusted multipart/form-data uploads and reuses the parsed filename or field name values.

Background info

@fastify/busboy is vulnerable to CRLF Injection in versions 0.0.1 - 3.2.1.

How to fix this

Upgrade the @fastify/busboy library to the patch version.