7.5High

CVE-2026-25223Fastify's Content-Type header tab character allows body validation bypass

fastify fastify; Red Hat Red Hat OpenShift AI 2.16; Red Hat Red Hat OpenShift AI 2.25; Red Hat Red Hat OpenShift Dev Spaces 3.27 Published: (9 months ago)

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.

Weakness (CWE): CWE-436CWE-179

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
fastify fastify < 5.7.2
openshift ai 2.16 —
openshift ai 2.25 —
openshift devspaces 3.27 —
Red Hat Red Hat Enterprise Linux AI (RHEL AI) 3 all versions
Red Hat Red Hat OpenShift AI 2.16 all versions
Red Hat Red Hat OpenShift AI 2.25 all versions
Red Hat Red Hat OpenShift AI (RHOAI) all versions
Red Hat Red Hat OpenShift Dev Spaces 3.27 all versions

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:fastify:fastify:*:*:*:*:*:node.js:*:* < 5.7.2