CVE-2026-74866

medium

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.

References

https://github.com/fastify/busboy/security/advisories/GHSA-gxm5-99cw-xjw9

https://github.com/fastify/busboy/releases/tag/v3.2.2

https://github.com/fastify/busboy/commit/cc7da17c5c88d79c314a9e149a79e5a00a6c23be

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-63829

https://cna.openjsf.org/security-advisories.html

Details

Source: Mitre, NVD

Published: 2026-08-21

Updated: 2026-09-08

Named Vulnerability: GHSA-gxm5-99cw-xjw9

Risk Information

CVSS v2

Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 5.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N

Severity: Medium

EPSS

EPSS: 0.00326