CVE-2026-25223
published high CVSS 3.1 · 7.5Fastify's Content-Type header tab character allows body validation bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| fastify | — | fastify< 5.7.2 | Affected | Not stated | GitHub_M |
| Red Hat | — | rhoai/odh-dashboard-rhel8Red Hat OpenShift AI 2.16 · 1774282136 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-dashboard-rhel9Red Hat OpenShift AI 2.25 · 1776742021 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-model-registry-rhel9Red Hat OpenShift AI 2.25 · 1776742141 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | devspaces/dashboard-rhel9Red Hat OpenShift Dev Spaces 3.27 · 1774476526 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhelai3/bootc-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhelai3/disk-image-cuda-rhel9Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-mod-arch-gen-ai-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
Description
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.
A flaw was found in Fastify, a web framework for Node.js. A remote attacker can exploit a validation bypass vulnerability by appending a tab character followed by arbitrary content to the Content-Type header. This circumvents the request body validation schemas, allowing the server to process the body as the original content type without proper validation. This could lead to unexpected data processing and potential integrity impact.
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
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
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.7.2 (affected) | GitHub_M · cna |
| Red Hat | Red Hat OpenShift AI 2.16 | 1774282136 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 2.25 | 1776742021 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 2.25 | 1776742141 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Dev Spaces 3.27 | 1774476526 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux AI (RHEL AI) 3 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-436 CWE-436: Interpretation Conflict
- CWE-179 Incorrect Behavior Order: Early Validation
References
12- https://access.redhat.com/errata/RHSA-2026:10184
- https://access.redhat.com/errata/RHSA-2026:5807
- https://access.redhat.com/errata/RHSA-2026:6192
- https://access.redhat.com/security/cve/CVE-2026-25223
- RHBZ#2436560 https://bugzilla.redhat.com/show_bug.cgi?id=2436560
- https://fastify.dev/docs/latest/Reference/Validation-and-Serialization
- https://github.com/fastify/fastify/blob/759e9787b5669abf953068e42a17bffba7521348/lib/content-type-parser.js#L125
- https://github.com/fastify/fastify/blob/759e9787b5669abf953068e42a17bffba7521348/lib/validation.js#L272
- https://github.com/fastify/fastify/commit/32d7b6add39ddf082d92579a58bea7018c5ac821
- https://github.com/fastify/fastify/security/advisories/GHSA-jx2c-rxcm-jvmq
- https://hackerone.com/reports/3464114
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25223.json
Provider assertions
3GitHub_M · cna
Fastify's Content-Type header tab character allows body validation bypass
redhat-SADP · adp
Fastify: Fastify: Validation bypass due to malformed Content-Type header leading to integrity impact
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d72da3b2202400e0184b4f2d0f0a4514af637db5086ebfe919d5df901fa16d38
- Ingested
- 23 Sep 2026, 09:06:52 UTC
- Source record
- Official CVE record