p PatchFirst

CVE-2026-25223

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.5 · High · EPSS 0.9% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • fastify

    Versions
    • < 5.7.2: Affected

    No fix published

  • fastify npm

    Affected ranges
    • SEMVER: < 5.7.2

    Update to 5.7.2

Original sources

Check your server →