{"id":"CVE-2026-25223","published":"2026-02-03T21:21:40Z","modified":"2026-09-16T12:04:20Z","title":"Fastify's Content-Type header tab character allows body validation bypass","vendor":"fastify","product":"fastify","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0127,"percentile":0.69843,"provenance":"source"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"},{"id":"CWE-179","name":"Incorrect Behavior Order: Early Validation"}],"references":[{"url":"https://github.com/fastify/fastify/security/advisories/GHSA-jx2c-rxcm-jvmq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/fastify/fastify/commit/32d7b6add39ddf082d92579a58bea7018c5ac821","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/3464114","tags":["x_refsource_MISC"]},{"url":"https://fastify.dev/docs/latest/Reference/Validation-and-Serialization","tags":["x_refsource_MISC"]},{"url":"https://github.com/fastify/fastify/blob/759e9787b5669abf953068e42a17bffba7521348/lib/content-type-parser.js#L125","tags":["x_refsource_MISC"]},{"url":"https://github.com/fastify/fastify/blob/759e9787b5669abf953068e42a17bffba7521348/lib/validation.js#L272","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-25223","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2436560","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25223.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:5807","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:10184","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:6192","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":19.2,"factors":[{"name":"EPSS percentile","points":13.97},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"fastify","affectedVersions":[{"vendor":"fastify","product":"fastify","versions":["< 5.7.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-04T21:18:10.359742Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"fastify","vulnerableRanges":["<5.7.2"],"patched":["5.7.2"],"from":["GHSA-jx2c-rxcm-jvmq"],"provenance":"source"}],"summary":{"text":"The flaw is a request body validation bypass in Fastify, the Node.js web framework, affecting versions prior to 5.7.2, where schemas selected by the Content-Type header can be circumvented. An attacker who can send HTTP requests to a vulnerable Fastify server, without needing authentication or user interaction, can append a tab character followed by arbitrary content to the Content-Type header so that body validation is skipped while the body is still parsed as the original content type, which can lead to integrity impact on the data processed by the application.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:50:11Z"},"euvd":{"id":"EUVD-2026-5157","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-fastify-cve-2026-25223","children":[{"from":"CVE-2026-25223","to":"CVE-2026-3419","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/content-type.js"],"commits":["https://github.com/fastify/fastify/commit/32d7b6add39ddf082d92579a58bea7018c5ac821","https://github.com/fastify/fastify/commit/67f6c9b32cb3623d3c9470cc17ed830dd2f083d7"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2022-39288","published":"2022-10-10","fixed":"4.8.1","kev":false},{"cve":"CVE-2022-41919","published":"2022-11-22","fixed":"4.10.2","kev":false},{"cve":"CVE-2025-32442","published":"2025-04-18","fixed":"5.3.2","kev":false,"link":{"from":"CVE-2025-32442","to":"CVE-2026-25223","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:fastify","fromFixed":"5.3.2","toFixed":"5.7.2","daysApart":291}]}},{"cve":"CVE-2026-25223","published":"2026-02-03","fixed":"5.7.2","kev":false},{"cve":"CVE-2026-25224","published":"2026-02-03","fixed":"5.7.3","kev":false,"link":{"from":"CVE-2026-25223","to":"CVE-2026-25224","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:fastify","fromFixed":"5.7.2","toFixed":"5.7.3","daysApart":0}]}},{"cve":"CVE-2026-3419","published":"2026-03-06","fixed":"5.8.1","kev":false},{"cve":"CVE-2026-3635","published":"2026-03-23","fixed":"5.8.3","kev":false}],"package":"npm:fastify"}}