High severity · published Sep 4, 2026
CVE-2026-84504
fastify vulnerable to request body replacement via an async validation result collision
8.1
CVSS
0.4%
EPSS
No
On KEV
Description
fastify versions before 5.12.2 treat the object resolved by a successful Ajv async validator as the value result protocol used by custom validator compilers. If a request that passes its route schema contains a property named value at the root, fastify replaces the entire request body with that property's value before the handler runs, so the handler receives a different object than the one that satisfied the schema. An authenticated low-privilege caller can use this to make nested data replace the validated body and trigger an operation the route schema did not authorize, leading to unauthorized state changes and data disclosure. Users should upgrade to fastify 5.12.2 or later.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 37% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FA
fastify · fastify
before 5.12.2 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-84504
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-84504
Third Party Advisory
https://cna.openjsf.org/security-advisories.html
Mitigation
https://github.com/fastify/fastify/security/advisories/GHSA-667r-xxjv-c9mm
More from fastify
8.8
CVE-2022-41919
Fastify is a web framework with minimal overhead and plugin architecture
7.5
CVE-2026-84428
fastify vulnerable to header validation bypass via incomplete schema case normalization
7.5
CVE-2026-84469
fastify vulnerable to request validation bypass via skipped boolean false schemas
7.5
CVE-2026-76169
fastify vulnerable to authentication bypass via malformed URLs reaching encapsulated not-found handlers
7.5
CVE-2026-33806
fastify vulnerable to Body Schema Validation Bypass via Leading Space in Content-Type Header
