CVE-2026-74866

@fastify/busboy vulnerable to CRLF injection via multipart Content-Disposition filename and name

Published Aug 21, 2026 CVSS 3.1 · 5.8 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-gxm5-99cw-xjw9 @fastify/busboy vulnerable to CRLF injection via multipart Content-Disposition filename and name
History
Type Values Removed Values Added
First Time appeared Fastify fastify\/busyboy
CPEs cpe:2.3:a:fastify:fastify\/busyboy:*:*:*:*:*:node.js:*:*
Vendors & Products Fastify fastify\/busyboy
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Fastify
Fastify busboy
Vendors & Products Fastify
Fastify busboy
Type Values Removed Values Added
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.
Title @fastify/busboy vulnerable to CRLF injection via multipart Content-Disposition filename and name
Weaknesses CWE-93
References
Metrics cvssV3_1

{'score': 5.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
openjs
Published
Updated
Aug 21, 2026, 12:37 PM
Reserved
Aug 17, 2026, 10:26 AM
Status
Analyzed
Published
Aug 21, 2026, 9:16 AM
Modified
Oct 16, 2026, 3:10 PM
Severity
Moderate
Public date
Aug 21, 2026, 8:20 AM