{"id":"CVE-2026-33806","summary":"fastify vulnerable to Body Schema Validation Bypass via Leading Space in Content-Type Header","details":"Impact:\n\nFastify 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.\n\nThis is a regression introduced in fastify \u003e= 5.3.2 by the fix for CVE-2025-32442\n\nPatches:\n\nUpgrade to fastify v5.8.5 or later.\n\nWorkarounds:\n\nNone. Upgrade to the patched version.","aliases":["CVE-2025-32442","GHSA-247c-9743-5963","GHSA-mg2h-6x62-wpwc"],"modified":"2026-07-08T08:12:50.459962842Z","published":"2026-04-15T00:14:02.376Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33806.json","cwe_ids":["CWE-1287"],"cna_assigner":"openjs"},"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33806.json"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2026-33806"},{"type":"ADVISORY","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/33xxx/CVE-2026-33806.json"},{"type":"ADVISORY","url":"https://github.com/fastify/fastify/security/advisories/GHSA-mg2h-6x62-wpwc"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33806"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2458596"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fastify/fastify","events":[{"introduced":"32f7e1eb97b638bad3ff8b80948e5b2c07d1b8b5"},{"fixed":"3983cce8124714242099e8756a7a9a80a0ba0aea"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:fastify:fastify:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"5.3.2"},{"fixed":"5.8.5"}]}}],"versions":["v5.8.4","v5.8.3","v5.8.2","v5.8.1","v5.8.0","v5.7.4","v5.7.3","v5.7.2","v5.7.1","v5.7.0","v5.6.2","v5.6.1","v5.6.0","v5.5.0","v5.4.0","v5.3.3","v5.3.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-33806.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}