---
id: CVE-2026-74866
title: '@fastify/busboy is a multipart form-data parser for Node.js'
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 i…
severity: medium
cvss: 5.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N'
cwe:
  - CWE-93
vendor: fastify
product: fastify/busyboy
affected:
  - fastify/busyboy < 3.2.2
patched:
  - fastify/busyboy 3.2.2
published: '2026-08-21'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T14:47:52.977'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-74866'
references:
  - url: 'https://cna.openjsf.org/security-advisories.html'
    label: ce714d77-add3-4f53-aff5-83d477b104bb
  - url: 'https://github.com/fastify/busboy/security/advisories/GHSA-gxm5-99cw-xjw9'
    label: ce714d77-add3-4f53-aff5-83d477b104bb
tags:
  - nvd
epss: 0.00326
epssPercentile: 0.23041
ingestedAt: '2026-09-08T15:33:26.954Z'
---

## Overview

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

## Affected

- `fastify/busyboy < 3.2.2`

## Remediation

Upgrade past the affected range:

- `fastify/busyboy 3.2.2`
