CVE-2026-25223CWE-436

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

High · published February 3, 2026

CVSS v3.1
7.5
EPSS
1%
Percentile
58.6
In the wild
Unconfirmed
What it is

⚡ A sneaky tab character is all it takes to bypass content validation in Fastify! 💻 Think of it like a restaurant that doesn't check what's inside the delivery box — just because the label says 'sushi' doesn’t mean it’s not a mystery meat surprise. With this vulnerability, attackers can serve up any kind of request, and the server happily processes it as if it's what it was supposed to be! This could lead to malicious data being processed without any validation, allowing attackers to manipulate requests and potentially execute harmful actions on the server. Imagine a hacker slipping a fake order into the kitchen without anyone noticing until it’s too late!

Put simply

Think of it like a restaurant that doesn't check what's inside the delivery box — just because the label says 'sushi' doesn’t mean it’s not a mystery meat surprise. With this vulnerability, attackers can serve up any kind of request, and the server happily processes it as if it's what it was supposed to be! This vulnerability in Fastify allows attackers to bypass request body validation by appending a tab character and arbitrary content to the Content-Type header, misleading the server into processing the body without proper checks. It affects versions prior to 5.7.2.

What to do

This could lead to malicious data being processed without any validation, allowing attackers to manipulate requests and potentially execute harmful actions on the server. Imagine a hacker slipping a fake order into the kitchen without anyone noticing until it’s too late! To protect your application, patch Fastify to version 5.7.2 or later. Additionally, review your Content-Type handling to ensure proper validation checks are in place regardless of potentially tricky headers. 🛡️ You've got this! Follow these steps, and you'll have your Fastify application secured in no time! 🚀

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00875 · 58.6th percentile
Weakness
CWE-436 · Interpretation Conflict
Published
2026-02-03T21:21Z
EPSS history
Timeline
  • 03 FEB 21:21Z
    Fastify's Content-Type header tab character allows body validation bypass
    cvelistv5