CVE-2026-74866Fastify/busyboy
Medium 5.8 No auth needed
Follow: this CVE · Fastify · Fastify/busyboy We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.8
- EPSS
- —
- Auth required
- No
- Published
- Aug 21, 2026
- Updated
- Oct 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-93
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
What happens
@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.
What to do
- Apply the vendor's security update for Fastify/busyboy.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @fastify/busboy |
< 3.2.2 |
3.2.2 |
npm install @fastify/busboy@3.2.2 |
Per OSV / GitHub Advisories (GHSA-gxm5-99cw-xjw9). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| fastify | fastify/busyboy | < 3.2.2 |
Official sources
References
Links published by the sources. Open them with care.
- cna.openjsf.org Third Party Advisory
- github.com Vendor Advisory