CVE-2026-25223
HIGH 7.5CVSS 3.1Fastify's Content-Type header tab character allows body validation bypass
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.
- Published
- 3 Feb 2026
- Last modified
- 15 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-179CWE-436
- Also known as
- GHSA-jx2c-rxcm-jvmq
- Sources
- NVDJSONOSV GHSA-jx2c-rxcm-jvmqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | fastify | fastifycpe:2.3:a:fastify:fastify:*:*:*:*:*:node.js:*:* |
< 5.7.2 | 5.7.2 |
| OSV | npm | fastify | < 5.7.2 | 5.7.2 |
References
- https://fastify.dev/docs/latest/Reference/Validation-and-Serialization · Product, Technical Description, WEB
- https://github.com/fastify/fastify/blob/759e9787b5669abf953068e42a17bffba7521348/lib/content-type-parser.js#L125 · Product, WEB
- https://github.com/fastify/fastify/blob/759e9787b5669abf953068e42a17bffba7521348/lib/validation.js#L272 · Product, WEB
- https://github.com/fastify/fastify/commit/32d7b6add39ddf082d92579a58bea7018c5ac821 · Patch, WEB
- https://github.com/fastify/fastify/security/advisories/GHSA-jx2c-rxcm-jvmq · Mitigation, Vendor Advisory, WEB
- https://hackerone.com/reports/3464114 · Permissions Required, WEB
- https://access.redhat.com/errata/RHSA-2026:10184
- https://access.redhat.com/errata/RHSA-2026:5807
- https://access.redhat.com/errata/RHSA-2026:6192
- https://access.redhat.com/security/cve/CVE-2026-25223
- https://bugzilla.redhat.com/show_bug.cgi?id=2436560
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25223.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-25223 · ADVISORY
- https://github.com/fastify/fastify · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 3 Feb 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Feb 2026)