CVE 7.5 HIGH

fastify vulnerable to Body Schema Validation Bypass via Leading Space in Content-Type Header_CVE-2026-33806

7.5 / 10
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Description

Impact:

Fastify applications using schema.body.content for per-content-type body validation can have validation bypassed entirely by prepending a space to the Content-Type header. The body is still parsed correctly but schema validation is skipped.

This is a regression introduced in fastify >= 5.3.2 by the fix for CVE-2025-32442

Patches:

Upgrade to fastify v5.8.5 or later.

Workarounds:

None. Upgrade to the patched version.

Basic Information

ID CVE-2026-33806
Source openjs
Published Apr 15, 2026 at 00:14

Affected Product

Vendor fastify
Product fastify
Version 5.3.2
Affected Versions fastify fastify 5.3.2

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.