CVE-2026-33806
published high CVSS 3.1 · 7.5fastify vulnerable to Body Schema Validation Bypass via Leading Space in Content-Type Header
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| fastify | — | fastify5.3.2 to < 5.8.5 (affected · semver) · 5.8.5 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
| Red Hat | — | rhelai3/bootc-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhelai3/bootc-rocm-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhelai3/disk-image-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-dashboard-rhel8Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-dashboard-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-gen-ai-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-maas-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhoai/odh-mod-arch-model-registry-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | devspaces/dashboard-rhel9Red Hat OpenShift Dev Spaces | Unaffected | Not required | redhat-SADP |
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.
A flaw was found in Fastify. A remote attacker could exploit this vulnerability by prepending a space to the Content-Type header in a request. This action bypasses the application's schema validation, allowing the attacker to submit data that would otherwise be rejected. This could lead to unexpected data processing and potential integrity issues within the application.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| fastify | fastify | 5.3.2 to < 5.8.5 (affected · semver)5.8.5 (unaffected · semver)Default: unaffected | openjs · cna |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Dev Spaces | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-1287 CWE-1287: Improper Validation of Specified Type of Input
- CWE-1289 Improper Validation of Unsafe Equivalence in Input
References
5- https://access.redhat.com/security/cve/CVE-2026-33806
- RHBZ#2458596 https://bugzilla.redhat.com/show_bug.cgi?id=2458596
- https://cna.openjsf.org/security-advisories.html
- https://github.com/fastify/fastify/security/advisories/GHSA-mg2h-6x62-wpwc
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33806.json
Provider assertions
3openjs · cna
fastify vulnerable to Body Schema Validation Bypass via Leading Space in Content-Type Header
redhat-SADP · adp
fastify: Fastify: Schema validation bypass via malformed Content-Type header
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 63ed07f741e0aa6c541a0ded0c574d1c1fcc1cafb129b0c6a29909ae6896b53e
- Ingested
- 23 Sep 2026, 09:10:54 UTC
- Source record
- Official CVE record