# CVE-2026-25223: Fastify's Content-Type header tab character allows body validation bypass

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.86%, higher than 59% of CVEs (2026-12-01)
- Published: 2026-02-02T22:23:29.000Z
- Modified: 2026-09-16T12:04:20.445Z
- Also known as: GHSA-jx2c-rxcm-jvmq
- Weaknesses: CWE-179, CWE-436
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- fastify fastify: < 5.7.2; before 5.7.2
- rhoai/odh-dashboard-rhel8: no versions given (not affected: from 1774282136 before *)
- rhoai/odh-dashboard-rhel9: no versions given (not affected: from 1776742021 before *)
- rhoai/odh-mod-arch-model-registry-rhel9: no versions given (not affected: from 1776742141 before *)
- devspaces/dashboard-rhel9: no versions given (not affected: from 1774476526 before *)
- rhelai3/bootc-cuda-rhel9: no versions given
- rhelai3/disk-image-cuda-rhel9: no versions given
- rhoai/odh-mod-arch-gen-ai-rhel9: no versions given
- fastify (npm): before 5.7.2

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- redhat-SADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/fastify/fastify/security/advisories/GHSA-jx2c-rxcm-jvmq> (mitigation, vendor-advisory, web)
- <https://github.com/fastify/fastify/commit/32d7b6add39ddf082d92579a58bea7018c5ac821> (patch, web)
- <https://hackerone.com/reports/3464114> (permissions-required, web)
- <https://fastify.dev/docs/latest/Reference/Validation-and-Serialization> (product, technical-description, web)
- <https://github.com/fastify/fastify/blob/759e9787b5669abf953068e42a17bffba7521348/lib/content-type-parser.js#L125> (product, web)
- <https://github.com/fastify/fastify/blob/759e9787b5669abf953068e42a17bffba7521348/lib/validation.js#L272> (product, web)
- <https://access.redhat.com/security/cve/CVE-2026-25223> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2436560> (issue-tracking)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25223.json>
- <https://access.redhat.com/errata/RHSA-2026:5807> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:10184> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:6192> (vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25223> (advisory)
- <https://github.com/fastify/fastify> (package)

## Sources

- CVE List: [CVE-2026-25223](https://www.cve.org/CVERecord?id=CVE-2026-25223), CVE Terms of Use, modified 2026-09-16
- GitHub Advisory Database: [GHSA-jx2c-rxcm-jvmq](https://github.com/advisories/GHSA-jx2c-rxcm-jvmq), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2026-25223](https://nvd.nist.gov/vuln/detail/CVE-2026-25223), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2026-25223 · Whole record: https://cve.day/CVE-2026-25223.json · Rebuilt by cve.day 2026-11-25T22:59:13.429Z
