Denial of service in Fastify via Content-Type header
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
fastify is a fast and low overhead web framework, for Node.js. Affected versions of fastify are subject to a denial of service via malicious use of the Content-Type header. An attacker can send an invalid Content-Type header that can cause the application to crash. This issue has been addressed in commit `fbb07e8d` and will be included in release version 4.8.1. Users are advised to upgrade. Users unable to upgrade may manually filter out http content with malicious Content-Type headers.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| fastify | fastify | 4.0.0 to before 4.8.1 | 4.8.1 | Patch available | CNA |
| — | fastify (npm) | 4.0.0 to before 4.8.1 | 4.8.1 | Patch available | GHSA-455w-c45v-86rg |
- fastify Vendorfastify Affected 4.0.0 to before 4.8.1 Fixed in 4.8.1 Patch available CNA
- fastify (npm) Vendor— Affected 4.0.0 to before 4.8.1 Fixed in 4.8.1 Patch available GHSA-455w-c45v-86rg
Remediation
- Fix · CNA fastify (fastify) Fixed in 4.8.1
- Fix · GHSA-455w-c45v-86rg fastify (npm) Fixed in 4.8.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-39288
- 2026-10-03 Alias added: GHSA-455w-c45v-86rg
References
Advisory 3
More Fastify vulnerabilities
- TI-2025-23513 Fastify vulnerable to invalid content-type parsing, which could lead to validation bypass CVSS 3.1HIGH 7.5
- TI-2026-58050 fastify vulnerable to request validation bypass via skipped boolean false schemas CVSS 3.1HIGH 7.5
- TI-2026-58022 fastify vulnerable to header validation bypass via incomplete schema case normalization CVSS 3.1HIGH 7.5
- TI-2026-53284 fastify vulnerable to authentication bypass via malformed URLs reaching encapsulated not-found handlers CVSS 3.1HIGH 7.5
- TI-2026-26178 fastify vulnerable to Body Schema Validation Bypass via Leading Space in Content-Type Header CVSS 3.1HIGH 7.5
- TI-2026-58072 fastify vulnerable to request body replacement via an async validation result collision CVSS 3.1HIGH 8.1
Sources
- CVE-2022-39288 · CVE Program
- CVE-2022-39288 · NVD
- FIRST EPSS
- GHSA-455w-c45v-86rg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences