CVE-2026-25223 Details
Description
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.
A validation bypass vulnerability has been identified in Fastify, a web framework for Node.js, in versions prior to 5.7.2. This vulnerability allows attackers to circumvent request body validation schemas that are based on Content-Type headers. By adding a tab character followed by arbitrary content to the Content-Type header, the body validation can be bypassed, while the server continues to process the body as if it were the original content type. For instance, a request with 'Content-Type: application/json\ta' would bypass JSON validation but still be treated as JSON. This issue arises from a regression related to a previously reported vulnerability.
Users are advised to upgrade to Fastify version 5.7.2 or later. If an immediate upgrade is not possible, a custom 'onRequest' hook can be implemented to reject requests with tab characters in the Content-Type header.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-179 | Incorrect Behavior Order: Early Validation | redhat-SADP |
| CWE-436 | Interpretation Conflict | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| fastify fastify | < 5.7.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 15, 2026 | CVE Modified | redhat-SADP |
| Jun 30, 2026 | CVE Modified | redhat-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 10, 2026 | Initial Analysis | [email protected] |
| Feb 3, 2026 | New CVE Received | [email protected] |