CVE-2026-74866
Received Received - Intake

Carriage Return Line Feed Injection in Fastify Busboy

Vulnerability report for CVE-2026-74866, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-21

Last updated on: 2026-08-21

Assigner: openjs

Description

@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. The issue is fixed in version 3.2.2, which rejects any header line that still contains a bare carriage return or line feed. Users should upgrade to 3.2.2, and consumers such as @fastify/multipart should bump their @fastify/busboy dependency to pull in the fix.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-21
Last Modified
2026-08-21
Generated
2026-08-21
AI Q&A
2026-08-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
fastify busboy to 3.2.1 (inc)
fastify busboy 3.2.2

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-93 The product uses CRLF (carriage return line feeds) as a special element, e.g. to separate lines or records, but it does not neutralize or incorrectly neutralizes CRLF sequences from inputs.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects the @fastify/busboy package, which is a multipart form-data parser for Node.js. It fails to properly handle lone carriage return or line feed characters in filenames or field names during multipart header parsing. This allows attackers to inject control characters into these values, which are then passed to the application.

Detection Guidance

Check if your system uses @fastify/busboy versions prior to 3.2.2 by running: npm list @fastify/busboy or yarn list @fastify/busboy. Inspect multipart uploads for filenames or field names containing CR or LF characters using application logs or network monitoring tools.

Impact Analysis

An attacker could exploit this to inject malicious filenames or field names containing bare CR or LF characters. This may lead to filesystem filename pollution, log forging, or header injection when values are forwarded to systems that handle carriage-return-sensitive sinks.

Mitigation Strategies

Upgrade @fastify/busboy to version 3.2.2 or later. If immediate upgrade is not possible, validate and strip CR and LF characters from filenames and field names before using them in filesystem, logging, or outbound-header contexts.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-74866. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart