CVE-2025-32442
CVE-2025-32442 is a high-severity vulnerability in Fastify with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-1287.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 1% (46th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-11842
- Weakness: CWE-1287
- Affected product: Fastify
- Published:
- Last modified:
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 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.
Frequently asked questions
- What is CVE-2025-32442?
- 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.
- How severe is CVE-2025-32442?
- CVE-2025-32442 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity high, and availability none.
- Is CVE-2025-32442 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (46th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-32442?
- CVE-2025-32442 primarily affects Fastify. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2025-32442?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-32442 have an EU (EUVD) identifier?
- Yes. CVE-2025-32442 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-11842.
- When was CVE-2025-32442 published?
- CVE-2025-32442 was published on 2025-04-18 and last updated on 2026-06-17.
References
- https://github.com/fastify/fastify/commit/436da4c06dfbbb8c24adee3a64de0c51e4f47418
- https://github.com/fastify/fastify/commit/f3d2bcb3963cd570a582e5d39aab01a9ae692fe4
- https://github.com/fastify/fastify/security/advisories/GHSA-mg2h-6x62-wpwc
- https://hackerone.com/reports/3087928
Affected products (2)
- cpe:2.3:a:fastify:fastify:*:*:*:*:*:node.js:*:*
- cpe:2.3:a:fastify:fastify:4.29.0:*:*:*:*:node.js:*:*
More vulnerabilities in Fastify
- CVE-2026-33806 — High (CVSS 7.5): Impact: Fastify applications using schema.body.content for per-content-type body validation can have validation…
- CVE-2026-25223 — High (CVSS 7.5): Fastify is a fast and low overhead web framework, for Node.js. Prior to version 5.7.2, a validation bypass…
- CVE-2022-39288 — High (CVSS 7.5): fastify is a fast and low overhead web framework, for Node.js. Affected versions of fastify are subject to a denial of…
- CVE-2018-3711 — High (CVSS 7.5): Fastify node module before 0.38.0 is vulnerable to a denial-of-service attack by sending a request with "Content-Type:…
- CVE-2020-8192 — Medium (CVSS 6.5): A denial of service vulnerability exists in Fastify v2.14.1 and v3.0.0-rc.4 that allows a malicious user to trigger…
- CVE-2026-3635 — Medium (CVSS 6.1): Summary When trustProxy is configured with a restrictive trust function (e.g., a specific IP like trustProxy:…
Other CWE-1287 vulnerabilities
- CVE-2024-51550 — Critical (CVSS 10.0): Data Validation / Data Sanitization vulnerabilities in Linux allows unvalidated and unsanitized data to be injected in…
- CVE-2024-6298 — Critical (CVSS 10.0): Unauthorized file access in WEB Server in ABB ASPECT - Enterprise v3.08.01; NEXUS Series v3.08.01 ; MATRIX Series…
- CVE-2026-44935 — Critical (CVSS 9.9): Missing validation of "valuesFrom" references in Helm Deployer of SUSE Rancher Fleet 0.15 before 0.15.2, 0.14 before…
- CVE-2024-4879 — Critical (CVSS 9.8): ServiceNow has addressed an input validation vulnerability that was identified in Vancouver and Washington DC Now…
- CVE-2021-32024 — Critical (CVSS 9.8): A remote code execution vulnerability in the BMP image codec of BlackBerry QNX SDP version(s) 6.4 to 7.1 could allow an…
- CVE-2026-24307 — Critical (CVSS 9.3): Improper validation of specified type of input in M365 Copilot allows an unauthorized attacker to disclose information…