{"id":"GHSA-jx2c-rxcm-jvmq","revision":null,"records":[{"revision":"5e68f744879e43818e03ba3989129189","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-25223","aliases":[],"title":"Fastify's Content-Type header tab character allows body validation bypass","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.","state":0,"publishedAt":"2026-02-03T21:21:40.268+00:00","modifiedAt":"2026-09-16T12:04:20.445+00:00","affected":[{"ecosystem":"Vendor product","name":"fastify","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"fastify\",\n                    \"product\": \"fastify\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 5.7.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"severity":"HIGH"}],"references":["https://github.com/fastify/fastify/security/advisories/GHSA-jx2c-rxcm-jvmq","https://github.com/fastify/fastify/commit/32d7b6add39ddf082d92579a58bea7018c5ac821","https://hackerone.com/reports/3464114","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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-25223","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-25223","identifiers":["CVE-2026-25223"]},"retained":false,"historicalAffected":[]},{"revision":"b18ca063375343549f9aa4b405f0dcd7","observedAt":"2026-11-13T11:01:55.927+00:00","statement":{"source":"euvd","id":"EUVD-2026-5157","aliases":["CVE-2026-25223","GHSA-jx2c-rxcm-jvmq"],"title":"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 ap…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"severity":null}],"references":["https://github.com/fastify/fastify/security/advisories/GHSA-jx2c-rxcm-jvmq","https://github.com/fastify/fastify/commit/32d7b6add39ddf082d92579a58bea7018c5ac821","https://hackerone.com/reports/3464114","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"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-5157","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Feb 3, 2026, 9:21:40 PM","dateUpdated":"Sep 16, 2026, 12:04:20 PM"},"relatedAdvisories":[{"id":"RHSA-2026:10184","title":"Red Hat Security Advisory: RHOAI 2.25.5 - Red Hat OpenShift AI","vulnerabilityIds":["CVE-2025-6242","CVE-2025-11157","CVE-2025-12103","CVE-2025-14009","CVE-2025-61726","CVE-2025-61728","CVE-2025-61729","CVE-2025-66418","CVE-2025-66471","CVE-2025-68131","CVE-2025-69223","CVE-2025-69227","CVE-2025-69228","CVE-2025-69534","CVE-2026-0846","CVE-2026-0847","CVE-2026-1002","CVE-2026-2472","CVE-2026-2492","CVE-2026-21441","CVE-2026-22773","CVE-2026-22807","CVE-2026-24049","CVE-2026-24281","CVE-2026-24308","CVE-2026-24486","CVE-2026-24779","CVE-2026-25223","CVE-2026-25639","CVE-2026-25679","CVE-2026-25990","CVE-2026-26007","CVE-2026-26996","CVE-2026-27137","CVE-2026-27628","CVE-2026-27888","CVE-2026-27904","CVE-2026-27959","CVE-2026-28229","CVE-2026-28356","CVE-2026-30922","CVE-2026-31837","CVE-2026-31892","CVE-2026-31958","CVE-2026-32274","CVE-2026-32597","CVE-2026-32640","CVE-2026-33236","CVE-2026-33870","CVE-2026-33871"]},{"id":"RHSA-2026:5807","title":"Red Hat Security Advisory: RHOAI 2.16.4 - Red Hat OpenShift AI","vulnerabilityIds":["CVE-2024-25621","CVE-2025-6193","CVE-2025-12060","CVE-2025-12638","CVE-2025-12816","CVE-2025-61726","CVE-2025-61729","CVE-2025-66031","CVE-2025-66418","CVE-2025-66626","CVE-2025-68156","CVE-2025-69873","CVE-2026-1526","CVE-2026-1528","CVE-2026-2229","CVE-2026-25223","CVE-2026-25639","CVE-2026-29074","CVE-2026-32141"]},{"id":"RHSA-2026:6192","title":"Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.27.0 Release.","vulnerabilityIds":["CVE-2025-13465","CVE-2025-54386","CVE-2025-61726","CVE-2025-61728","CVE-2025-61729","CVE-2025-64756","CVE-2025-68121","CVE-2025-69873","CVE-2026-1002","CVE-2026-22045","CVE-2026-23745","CVE-2026-23950","CVE-2026-24049","CVE-2026-24842","CVE-2026-25223","CVE-2026-25639","CVE-2026-25949","CVE-2026-26960","CVE-2026-26996"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-5157","identifiers":["EUVD-2026-5157","CVE-2026-25223","GHSA-jx2c-rxcm-jvmq"]},"retained":false,"historicalAffected":[]},{"revision":"3f46887a7b5d4582a23271d4fb55da64","observedAt":"2026-10-25T06:17:16.233+00:00","statement":{"source":"nvd","id":"CVE-2026-25223","aliases":[],"title":"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 ap…","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.","state":0,"publishedAt":"2026-02-03T22:16:31.13+00:00","modifiedAt":"2026-07-15T02:18:52.92+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"severity":"HIGH"},{"system":"CVSS 3.1 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"severity":"HIGH"}],"references":["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://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","https://bugzilla.redhat.com/show_bug.cgi?id=2436560","https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25223.json"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-25223","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-436","CWE-179"],"productCriteria":["cpe:2.3:a:fastify:fastify:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-02-03T22:16:31.130","lastModified":"2026-07-15T02:18:52.920"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-25223","identifiers":["CVE-2026-25223"]},"retained":false,"historicalAffected":[]},{"revision":"afb7d63153b74b2b877391d73858a5f1","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-jx2c-rxcm-jvmq","aliases":["CVE-2026-25223"],"title":"Fastify's Content-Type header tab character allows body validation bypass","description":"### Impact\n\nA 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.\n\nFor example, a request with `Content-Type: application/json\\ta` will bypass JSON schema validation but still be parsed as JSON.\n\nThis vulnerability affects all Fastify users who rely on Content-Type-based body validation schemas to enforce data integrity or security constraints. The concrete impact depends on the handler implementation and the level of trust placed in the validated request body, but at the library level, this allows complete bypass of body validation for any handler using Content-Type-discriminated schemas.\n\nThis issue is a regression or missed edge case from the fix for a previously reported vulnerability.\n\n### Patches\n\nThis vulnerability has been patched in **Fastify v5.7.2**. All users should upgrade to this version or later immediately.\n\n### Workarounds\n\nIf upgrading is not immediately possible, user can implement a custom `onRequest` hook to reject requests containing tab characters in the Content-Type header:\n\n```javascript\nfastify.addHook('onRequest', async (request, reply) => {\n  const contentType = request.headers['content-type']\n  if (contentType && contentType.includes('\\t')) {\n    reply.code(400).send({ error: 'Invalid Content-Type header' })\n  }\n})\n```\n\n### Resources\n\n- https://github.com/fastify/fastify/blob/759e9787b5669abf953068e42a17bffba7521348/lib/validation.js#L272\n- https://github.com/fastify/fastify/blob/759e9787b5669abf953068e42a17bffba7521348/lib/content-type-parser.js#L125\n- [Fastify Validation and Serialization Documentation](https://fastify.dev/docs/latest/Reference/Validation-and-Serialization/)\n- https://hackerone.com/reports/3464114","state":0,"publishedAt":"2026-02-02T22:23:29+00:00","modifiedAt":"2026-02-04T18:07:32.787861+00:00","affected":[{"ecosystem":"npm","name":"fastify","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"5.7.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/fastify/fastify/security/advisories/GHSA-jx2c-rxcm-jvmq","https://nvd.nist.gov/vuln/detail/CVE-2026-25223","https://github.com/fastify/fastify/commit/32d7b6add39ddf082d92579a58bea7018c5ac821","https://hackerone.com/reports/3464114","https://fastify.dev/docs/latest/Reference/Validation-and-Serialization","https://github.com/fastify/fastify","https://github.com/fastify/fastify/blob/759e9787b5669abf953068e42a17bffba7521348/lib/content-type-parser.js#L125","https://github.com/fastify/fastify/blob/759e9787b5669abf953068e42a17bffba7521348/lib/validation.js#L272"],"sourceUrl":"https://github.com/advisories/GHSA-jx2c-rxcm-jvmq","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-jx2c-rxcm-jvmq","identifiers":["GHSA-jx2c-rxcm-jvmq","CVE-2026-25223"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-13T12:59:11.9732431+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-13T12:59:11.9732431+00:00","lastSuccessAt":"2026-11-13T12:59:12.1229749+00:00","error":null,"lastVerifiedAt":"2026-11-13T12:59:12.1229756+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-d8fa82e95fdb59244e2f635e667ba17f0796ca0a4f1f4bb8cc31febcd660b76c-f139040820e198a7b90c89ade0a85e4d1784f6cdedc33dd35667c553a90ed9b3","complete":true,"records":425359,"lastAttemptAt":"2026-11-13T12:57:12.1370926+00:00","lastSuccessAt":"2026-11-13T12:57:12.0535039+00:00","error":null,"lastVerifiedAt":"2026-11-13T12:57:12.1370926+00:00","snapshotPublishedAt":"2026-11-13T12:35:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-8106b486b70c4e0a972457e9bec940ae","complete":false,"records":13795,"lastAttemptAt":"2026-11-13T13:08:46.7498468+00:00","lastSuccessAt":"2026-11-13T13:08:46.746+00:00","error":"412 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-13T13:08:46.746+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13087,"expectedIdentifiers":13848,"failedIdentifiers":412},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-13T12:59:11.9732431+00:00","complete":true,"records":1123,"lastAttemptAt":"2026-11-13T12:59:11.9732431+00:00","lastSuccessAt":"2026-11-13T12:59:12.1237796+00:00","error":null,"lastVerifiedAt":"2026-11-13T12:59:12.1237798+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-18b27772e3264b22ab6b919eb23a22fd","complete":true,"records":13795,"lastAttemptAt":"2026-11-13T12:59:14.4637385+00:00","lastSuccessAt":"2026-11-13T12:59:14.459+00:00","error":null,"lastVerifiedAt":"2026-11-13T12:59:14.459+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13848,"expectedIdentifiers":13848,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-93e76d404e1aeb6a7e8902f5ffa06211fc86dea3b1958e297abb2668aa5e6e8c","complete":true,"records":9952,"lastAttemptAt":"2026-11-13T12:59:07.8110438+00:00","lastSuccessAt":"2026-11-12T23:19:15.5239119+00:00","error":null,"lastVerifiedAt":"2026-11-13T12:59:07.8110438+00:00","snapshotPublishedAt":"2026-11-12T23:03:02+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-4d60731753a2f72e455d1086e7203d0ef10843936dcc1cf2b45135e2caa204b0","complete":true,"records":2012,"lastAttemptAt":"2026-11-13T12:57:12.2985214+00:00","lastSuccessAt":"2026-11-12T18:16:50.7862525+00:00","error":null,"lastVerifiedAt":"2026-11-13T12:57:12.2985214+00:00","snapshotPublishedAt":"2026-11-12T17:48:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-ab4ad5f59937c0596645e186474e26d2fffbbe6ecc09983ad71f9a0d88918405","complete":true,"records":3129,"lastAttemptAt":"2026-11-13T12:59:11.9406927+00:00","lastSuccessAt":"2026-11-13T12:59:11.7864534+00:00","error":null,"lastVerifiedAt":"2026-11-13T12:59:11.9406927+00:00","snapshotPublishedAt":"2026-11-13T12:47:49+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-7d9437160a3664a4238cadabbe17e78db87dde648ca4c671841d50155dfa5d6c","complete":true,"records":231770,"lastAttemptAt":"2026-11-13T12:59:07.6810383+00:00","lastSuccessAt":"2026-11-13T12:59:06.1905777+00:00","error":null,"lastVerifiedAt":"2026-11-13T12:59:07.6810383+00:00","snapshotPublishedAt":"2026-11-13T12:33:13+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}