Skip to content
Fencer Vulns
high 7.5

CVE-2025-32442 json

Fastify vulnerable to invalid content-type parsing, which could lead to validation bypass

published 2025-04-18 18 mo ago modified 2026-07-08 4 mo ago also CVE-2026-33806 , EUVD-2025-11842 , GHSA-247c-9743-5963 , GHSA-mg2h-6x62-wpwc

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 54%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm fastify 4.29.1, 5.3.2, 5.8.5
  • fastify fastify 4.29.1, 5.3.2

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2025-32442 updated cvss 7.5

Fastify: Fastify vulnerable to invalid content-type parsing, which could lead to validation bypass

  • Red Hat OpenShift Serverless openshift-serverless-1/kn-plugin-func-func-util-rhel8 Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel8
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
18 mo ago

Exploit prediction

0.73% chance of exploitation in the next 30 days, higher than 54% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/fastify/fastify/security/advisories/GHSA-mg2h-6x62-wpwc referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Affected packages

ecosystem package affected fixed in
npm fastify
>=5.3.2, <5.8.5
>=5.0.0, <5.3.2
>=4.29.0, <4.29.1
5.8.5
5.3.2
4.29.1

Affected products

  • fastify fastify

Classification

Weakness
  • CWE-1287 Improper Validation of Specified Type of Input

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.