CVE-2025-32442: Fastify - Validation Bypass
- Cve: CVE-2025-32442
- Name: Fastify - 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 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.
- Impact: Attackers can bypass validation, potentially leading to security issues or processing malicious data.
- Remediation: Update to version 5.3.2 or 4.9.1.
- Vulnerability type: misconfiguration
- Vulnerability impact: information_disclosure, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.00744
- Epss percentile: 0.55487
- Assignee: [email protected]
- Published at: 2025-04-18T16:15:23Z
- Age in days: 585
- Modified at: 2026-06-17T09:12:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-32442
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements
Cwe
| Id | Name |
|---|---|
| CWE-1287 | Improper Validation of Specified Type of Input |
Hackerone
- Reports: 1
- Rank: 5211
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/fastify/fastify/security/advisories/GHSA-mg2h-6x62-wpwc | nvd | 2025-04-18 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| fastify:fastify | >= 5.0.0, < 5.3.2; = 4.29.0 | no | nvd | /v1/products/fastify/fastify |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| fastify/fastify | commit, fix, package, security_advisory | yes | /v1/repositories/fastify/fastify |
Index
- Repositories: 3
- Repositories high signal: 1
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-04-18
- Remote: yes
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts