CVE-2026-33806 fastify vulnerable to Body Schema Validation Bypass via Leading Space in Content-Type Header
HighCVSS 7.5
EPSS 0.46%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- Red Hat
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.
Upgrade path
6 packages: 3 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| redhat openshift ai | All versions | No fix listed | No fix yet |
| fastify | >= 5.3.2, < 5.8.5 | 5.8.5 | Fixed |
| npm fastify | >= 5.3.2, < 5.8.5 | 5.8.5 | Fixed |
| npm fastify(npm) | >= 5.3.2, < 5.8.5; >= 5.3.2, <= 5.8.4 | 5.8.5 | Fixed |
| redhat enterprise linux ai | = 3 | No fix listed | Versions listed |
| redhat openshift devspaces | = 3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm fastify | >= 5.3.2, < 5.8.5 | 5.8.5 |
| redhat enterprise linux ai | = 3 | No fix listed |
| redhat openshift ai | All versions | No fix listed |
| redhat openshift devspaces | = 3 | No fix listed |
| npm fastify(npm) | >= 5.3.2, <= 5.8.4 | No fix listed |
| fastify | >= 5.3.2, < 5.8.5 | 5.8.5 |
| npm fastify(npm) | >= 5.3.2, < 5.8.5 | 5.8.5 |
References
- github.com not-applicable vendor-advisory
- cna.openjsf.org vendor-advisory
- Red Hat CVE page vdb-entry vendor-advisory
- RHBZ#2458596 issue-tracking
- security.access.redhat.com
- github.com vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- www.cve.org
- github.com product