Skip to main content
← All vulnerabilities
CVE-2026-25223GHSA-JX2C-RXCM-JVMQ

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.7.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • fastify fastify

    fixed in 5.7.2

  • fastifynpm

    fixed in 5.7.2

References 6

GitHub · fastify/fastify

hackerone.com

fastify.dev