{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-32442","id":"CVE-2025-32442","title":"Fastify vulnerable to invalid content-type parsing, which could lead to validation bypass","description":"Fastify is a fast and low overhead web framework, for Node.js. In versions 5.0.0 to 5.3.0 as well as version 4.29.0, applications that specify different validation strategies for different content types have a possibility to bypass validation by providing a _slightly altered_ content type such as with different casing or altered whitespacing before `;`. This was patched in v5.3.1, but the initial ","descriptionLong":"Fastify is a fast and low overhead web framework, for Node.js. In versions 5.0.0 to 5.3.0 as well as version 4.29.0, applications that specify different validation strategies for different content types have a possibility to bypass validation by providing a _slightly altered_ content type such as with different casing or altered whitespacing before `;`. This was patched in v5.3.1, but the initial patch did not cover all problems. This has been fully patched in v5.3.2 and v4.29.1. A workaround involves not specifying individual content types in the schema.","published":"2025-04-18T15:59:06.670Z","updated":"2026-10-28T02:31:14.246512438Z","reserved":"2025-04-08T10:54:58.369Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["fastify"],"affectedProducts":[{"vendor":"fastify","product":"fastify","defaultStatus":null,"versions":[{"version":">= 5.0.0, < 5.3.2","status":"affected"},{"version":"= 4.29.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"fastify","purl":"pkg:npm/fastify","ranges":[">=5.3.2 <5.8.5",">=5.0.0 <5.3.2",">=4.29.0 <4.29.1"],"fixed":["5.8.5","5.3.2","4.29.1"],"advisory":"GHSA-247c-9743-5963"}],"cwes":["CWE-1287"],"aliases":["CVE-2026-33806","GHSA-247c-9743-5963","GHSA-mg2h-6x62-wpwc"],"references":[{"url":"https://github.com/fastify/fastify/security/advisories/GHSA-mg2h-6x62-wpwc","tags":["x_refsource_CONFIRM","Exploit","Third Party Advisory","advisory","web"]},{"url":"https://github.com/fastify/fastify/commit/436da4c06dfbbb8c24adee3a64de0c51e4f47418","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/fastify/fastify/commit/f3d2bcb3963cd570a582e5d39aab01a9ae692fe4","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://hackerone.com/reports/3087928","tags":["x_refsource_MISC","Permissions Required","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32442.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32442","tags":["advisory"]},{"url":"https://github.com/fastify/fastify/security/advisories/GHSA-247c-9743-5963","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-33806","tags":["advisory"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["web"]},{"url":"https://github.com/fastify/fastify","tags":["package"]},{"url":"https://github.com/fastify/fastify/releases/tag/v5.8.5","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00744,"epssPercentile":0.55526,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-32442","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-32442","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-32442","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-247c-9743-5963","ok":true,"note":"GHSA-247c-9743-5963"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mg2h-6x62-wpwc","ok":true,"note":"GHSA-mg2h-6x62-wpwc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-32442","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}