---
title: "GHSA-gxm5-99cw-xjw9: @fastify/busboy vulnerable to CRLF injection via multipart Content-Disposition filename and name"
description: "Moderate severity. @fastify/busboy vulnerable to CRLF injection via multipart Content-Disposition filename and name. Affects @fastify/busboy; fixed in 3.2.2."
url: https://inlinr.com/advisories/GHSA-gxm5-99cw-xjw9
lang: en
---

[Packages](https://inlinr.com/packages) / [@fastify/busboy](https://inlinr.com/packages/@fastify/busboy) / [Security](https://inlinr.com/packages/@fastify/busboy/security)

Moderate Vulnerability GHSA-gxm5-99cw-xjw9 CVE-2026-74866 Published 5 Oct 2026

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

Your version 

Affected releases · [@fastify/busboy](https://inlinr.com/packages/@fastify/busboy)

- 3.x 3.0.0 – 3.2.1 Fixed in 3.2.2
- 2.x and older 1.0.0 – 2.1.1 No fix, no longer updated

On 3.x, the newest line:

```
npm install @fastify/busboy@3.2.2
```

Every release on a timeline

3.x 

1. Affected

3.0.0 – 3.2.1  
5 releases
2. Fixed

3.2.2 – 3.2.6  
5 releases, latest

2.x 

1. Affected

2.0.0 – 2.1.1  
3 releases

1.x 

1. Affected

1.0.0 – 1.2.1  
4 releases

17 stable releases of @fastify/busboy, oldest to newest, one row per major.

## What happens

Impact

[@fastify/busboy](https://inlinr.com/packages/@fastify/busboy) 3.2.1 and earlier retains a bare carriage return or line feed inside the parsed `Content-Disposition` parameters returned to the application. The multipart header parser ends a header line only on the two-byte `\r\n` sequence, so a lone CR or LF embedded in a part header is carried verbatim into the `filename` and field `name` delivered by the `file` and `field` events. An application that forwards the supplied filename or name into a CR/LF-sensitive sink cannot anticipate the embedded control character.

An attacker who uploads a file whose `filename` or field `name` contains a bare CR or LF can pollute filenames on disk when the upload is saved under its original name, inject forged lines into logs, or inject headers on a downstream hop that does not re-validate CR/LF, such as object-storage metadata or a proxied backend. Applications using [@fastify/busboy](https://inlinr.com/packages/@fastify/busboy) directly, or through [@fastify/multipart](https://inlinr.com/packages/@fastify/multipart) and its consumers, are affected.

Patches

Upgrade to [@fastify/busboy](https://inlinr.com/packages/@fastify/busboy) 3.2.2 or later.

Workarounds

Validate or strip carriage return and line feed characters from the `filename` and field `name` before using them in any filesystem, logging, or outbound-header context.

## How it is exploited

Exploitable over the network, with no account and no action from a user.

- **Confidentiality**: none
- **Integrity**: low
- **Availability**: none

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

## References

- [Reference](https://github.com/fastify/busboy/security/advisories/GHSA-gxm5-99cw-xjw9 "https://github.com/fastify/busboy/security/advisories/GHSA-gxm5-99cw-xjw9")  
github.com/fastify/busboy/security/advisories/G…
- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-74866 "https://nvd.nist.gov/vuln/detail/CVE-2026-74866")  
nvd.nist.gov/vuln/detail/CVE-2026-74866
- [Fix commit](https://github.com/fastify/busboy/commit/cc7da17c5c88d79c314a9e149a79e5a00a6c23be "https://github.com/fastify/busboy/commit/cc7da17c5c88d79c314a9e149a79e5a00a6c23be")  
cc7da17
- [Reference](https://cna.openjsf.org/security-advisories.html "https://cna.openjsf.org/security-advisories.html")  
cna.openjsf.org/security-advisories.html
- [Package](https://github.com/fastify/busboy "https://github.com/fastify/busboy")  
github.com/fastify/busboy
- [Reference](https://github.com/fastify/busboy/releases/tag/v3.2.2 "https://github.com/fastify/busboy/releases/tag/v3.2.2")  
github.com/fastify/busboy/releases/tag/v3.2.2

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
