Security mailing lists by PureSourceCode

CVE-2026-74866

MEDIUM 5.8CVSS 3.1

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

@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.

Published
21 Aug 2026
Last modified
16 Oct 2026
Assigned by
ce714d77-add3-4f53-aff5-83d477b104bb
NVD status
Analyzed
Weakness
CWE-93
Also known as
GHSA-gxm5-99cw-xjw9
Sources
NVDJSONOSV GHSA-gxm5-99cw-xjw9JSON

Scores

SourceScored byVersionScoreVector / decision
NVD ce714d77-add3-4f53-aff5-83d477b104bb (Secondary) CVSS 3.1 MEDIUM 5.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD fastify fastify/busyboy
cpe:2.3:a:fastify:fastify\/busyboy:*:*:*:*:*:node.js:*:*
< 3.2.2 3.2.2
OSV npm @fastify/busboy < 3.2.2 3.2.2

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 21 Aug 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 Oct 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.