Security mailing lists by PureSourceCode

CVE-2025-32442

HIGH 7.5CVSS 3.1

Fastify has a Body Schema Validation Bypass via Leading Space in Content-Type Header

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
18 Apr 2025
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-1287
Also known as
CVE-2026-33806GHSA-247c-9743-5963GHSA-mg2h-6x62-wpwc
Sources
NVDJSONOSV GHSA-247c-9743-5963JSONOSV GHSA-mg2h-6x62-wpwcJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD fastify fastify
cpe:2.3:a:fastify:fastify:*:*:*:*:*:node.js:*:*
>= 5.0.0, < 5.3.2 5.3.2
NVD fastify fastify
cpe:2.3:a:fastify:fastify:4.29.0:*:*:*:*:node.js:*:*
= 4.29.0
OSV npm fastify >= 5.3.2, < 5.8.5 5.8.5
OSV npm fastify >= 5.0.0, < 5.3.2 5.3.2
OSV npm fastify >= 4.29.0, < 4.29.1 4.29.1

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 18 Apr 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Apr 2025)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 15 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.