Medium [CVE-2026-74866] @fastify/busboy: @fastify/busboy: CRLF injection via multipart Content-Disposition filename and name
This medium-severity Red Hat Linux advisory covers CVE-2026-74866 affecting Red Hat AMQ Broker 7, Red Hat Ceph Storage 8, Red Hat Ceph Storage 9.
Android app · Google Play
Monitor future Red Hat Linux CVEs from your phone.
Choose a whole vendor or a precise platform, then receive matching security advisories by phone notification, email, or both. Coverage follows 32 official vendor sources and 160+ reviewed platform categories.
Summary
@fastify/busboy is a multipart form-data parser for Node.js.
Its 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 part header is not treated as a line break and is carried verbatim into the parsed Content-Disposition filename and field name handed to the application.
An attacker who uploads a file whose filename or field name contains a bare carriage return or line feed can inject control characters into consumers that trust the parser to return clean values, enabling filesystem filename pollution, log forging, or header injection when the value is forwarded to a carriage-return-sensitive sink.
All versions of @fastify/busboy up to and including 3.2.1 are affected. Users should upgrade to 3.2.2, and consumers such as @fastify/multipart should bump their @fastify/busboy dependency to pull in the fix.
A remote attacker could exploit this by uploading a file with a specially crafted filename or field name, leading to control character injection.
An attacker can inject CRLF characters into multipart form data, which may be passed through to downstream HTTP responses or headers if the application reflects the parsed filename or name values without additional sanitization, potentially enabling HTTP response splitting or header injection.
- 3.2.1
Official advisory · high-confidence parse· fetched 1 hour ago·verify at source
Mitigation checklist
- Applications using @fastify/busboy should sanitize any multipart Content-Disposition filename and name values before reflecting them in HTTP responses or headers. Strip or reject any input containing CR (0x0D) or LF (0x0A) characters in parsed multipart field names and filenames.
Official advisory · high-confidence parse· fetched 1 hour ago·verify at source
Discussion(0)
No comments yet. Share field notes, upgrade gotchas, or questions — verify against the vendor advisory before acting on community advice.
Sign in to join the discussion.