CVE-2026-84504

HIGH CVSS 3.1: 8.1 EPSS 0.43%
Updated Sep 15, 2026
Fastify
Parameter Value
CVSS 8.1 (HIGH)
Affected Versions before 5.12.2
Fixed In 5.12.2
Type CWE-20 (Improper Input Validation)
Vendor Fastify
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
None
No disruption

CVSS Vector v3.1

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Fastify Fastify
cpe:2.3:a:fastify:fastify:*:*:*:*:*:node.js:*:*
— 5.12.2