{"id":"CVE-2025-32442","aliases":["CVE-2026-33806","GHSA-247c-9743-5963","GHSA-mg2h-6x62-wpwc"],"url":"https://o3.security/vulnerability/CVE-2025-32442","summary":"Fastify vulnerable to invalid content-type parsing, which could lead to validation bypass","details":"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","modified":"2026-07-15T01:49:12.211184154Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"fastify","fixedVersion":"5.8.5"}],"fix":{"url":"https://github.com/fastify/fastify/commit/436da4c06dfbbb8c24adee3a64de0c51e4f47418","label":"fastify/fastify@436da4c"},"references":[{"type":"WEB","url":"https://hackerone.com/reports/3087928"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32442.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-2025-32442"},{"type":"FIX","url":"https://github.com/fastify/fastify/commit/436da4c06dfbbb8c24adee3a64de0c51e4f47418"},{"type":"FIX","url":"https://github.com/fastify/fastify/commit/f3d2bcb3963cd570a582e5d39aab01a9ae692fe4"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-15T01:49:12.211184154Z"}}