Vulnerabilities · 2026 · Fastify
CVE-2026-25223
Fastify vulnerability
Fastify is a fast and low overhead web framework, for Node.js. Prior to version 5.7.2, a validation bypass vulnerability exists in Fastify where request body validation schemas specified by Content-Type can be completely circumvented. By appending a tab character (\t) followed by arbitrary content to the Content-Type header, attackers can bypass body validation while the server still processes the body as the original content type. This issue has been patched in version 5.7.2.
Affected products
Fastify. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Fastify runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/fastify/fastify/security/advisories/GHSA-jx2c-rxcm-jvmq · Vendor Advisory
- github.com/fastify/fastify/commit/32d7b6add39ddf082d92579a58bea7018c5ac821 · Patch
- fastify.dev/docs/latest/Reference/Validation-and-Serialization
- github.com/fastify/fastify/blob/759e9787b5669abf953068e42a17bffba7521348/lib/content-type-
- github.com/fastify/fastify/blob/759e9787b5669abf953068e42a17bffba7521348/lib/validation.js
- hackerone.com/reports/3464114
- nvd.nist.gov/vuln/detail/CVE-2026-25223
- github.com/advisories/GHSA-jx2c-rxcm-jvmq
- nvd.nist.gov/vuln/detail/CVE-2026-25223
- cve.org/CVERecord?id=CVE-2026-25223
More vulnerabilities in Fastify products
CVE-2026-33806CVE-2026-25224CVE-2025-66415CVE-2025-32442CVE-2023-51701CVE-2023-31999CVE-2023-29020CVE-2023-29019All 24
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.