CVE-2026-25223 Fastify's Content-Type header tab character allows body validation bypass
HighCVSS 7.5
EPSS 0.86%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
12 packages: 3 fixed, 1 partially fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat enterprise linux ai | All versions | No fix listed | No fix yet |
| redhat/devspaces/dashboard-rhel9:1774476526(Red Hat openshift_devspaces 3.27 el9) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhelai3/disk-image-cuda-rhel9(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-dashboard-rhel8:1774282136(Red Hat openshift_ai 2.16 el8) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-dashboard-rhel9:1776742021(Red Hat openshift_ai 2.25 el9) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9(Red Hat openshift_ai) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9:1776742141(Red Hat openshift_ai 2.25 el9) | All versions | No fix listed | No fix yet |
| redhat openshift ai | < 1774282136; < 1776742021; < 1776742141; All versions | 1774282136, 1776742021, 1776742141 | Partially fixed |
| fastify | < 5.7.2; = < 5.7.2 | 5.7.2 | Fixed |
| npm fastify(npm) | < 5.7.2 | 5.7.2 | Fixed |
| redhat openshift devspaces | < 1774476526 | 1774476526 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| fastify | = < 5.7.2 | No fix listed |
| redhat openshift ai | < 1774282136 | 1774282136 |
| redhat openshift ai | < 1776742021 | 1776742021 |
| redhat openshift ai | < 1776742141 | 1776742141 |
| redhat openshift devspaces | < 1774476526 | 1774476526 |
| redhat enterprise linux ai | All versions | No fix listed |
| redhat openshift ai | All versions | No fix listed |
| npm fastify(npm) | < 5.7.2 | 5.7.2 |
| redhat/rhoai/odh-dashboard-rhel8:1774282136(Red Hat:openshift_ai:2.16::el8) | All versions | No fix listed |
| redhat/rhoai/odh-dashboard-rhel9:1776742021(Red Hat:openshift_ai:2.25::el9) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-model-registry-rhel9:1776742141(Red Hat:openshift_ai:2.25::el9) | All versions | No fix listed |
| redhat/devspaces/dashboard-rhel9:1774476526(Red Hat:openshift_devspaces:3.27::el9) | All versions | No fix listed |
| redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhelai3/disk-image-cuda-rhel9(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/rhoai/odh-mod-arch-gen-ai-rhel9(Red Hat:openshift_ai) | All versions | No fix listed |
| fastify | < 5.7.2 | 5.7.2 |
References
- https://github.com/fastify/fastify/security/advisories/GHSA-jx2c-rxcm-jvmq mitigation vendor-advisory
- https://github.com/fastify/fastify/commit/32d7b6add39ddf082d92579a58bea7018c5ac821 patch
- https://hackerone.com/reports/3464114 permissions-required
- https://fastify.dev/docs/latest/Reference/Validation-and-Serialization product technical-description
- https://github.com/fastify/fastify/blob/759e9787b5669abf953068e42a17bffba7521348/lib/content-type-parser.js#L125 product
- https://github.com/fastify/fastify/blob/759e9787b5669abf953068e42a17bffba7521348/lib/validation.js#L272 product
- Red Hat CVE page mitigation vdb-entry vendor-advisory
- RHBZ#2436560 issue-tracking
- security.access.redhat.com
- RHSA-2026:5807 patch vendor-advisory
- RHSA-2026:10184 patch vendor-advisory
- RHSA-2026:6192 patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- www.cve.org
- github.com product
- ENISA EUVD EUVD-2026-5157 third-party-advisory