SecurityContext

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

IdName
CWE-1287Improper Validation of Specified Type of Input

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

UrlSourceAdded date
https://github.com/fastify/fastify/security/advisories/GHSA-mg2h-6x62-wpwcnvd2025-04-18

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/fastify/fastify/commit/436da4c06dfbbb8c24adee3a64de0c51e4f47418Patch
https://github.com/fastify/fastify/commit/f3d2bcb3963cd570a582e5d39aab01a9ae692fe4Patch
https://github.com/fastify/fastify/security/advisories/GHSA-mg2h-6x62-wpwcExploit, Third Party Advisory
https://hackerone.com/reports/3087928Permissions Required

Products

ProductAffectedPlatform boundSourcesUrl
fastify:fastify>= 5.0.0, < 5.3.2; = 4.29.0nonvd/v1/products/fastify/fastify

Projects

RepositoryLink kindsIndexedUrl
fastify/fastifycommit, fix, package, security_advisoryyes/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