CVE-2026-84504

High

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.

SeverityHigh
CVSS8.1
Exploit probability—
ProductFastify
PublishedSep 4, 2026
First seenSep 4, 2026

How to fix

Update
  • fastify fastify5.12.2 or later
  • fastify5.12.2 or later

Affected products

ProductAffected versionsFixed in
fastify fastifyv < 5.12.25.12.2
fastifynpmv < 5.12.25.12.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.