fastify versions before 5.12.2 treat the object resolved by a successful Ajv async validator as the value…
Historical advisory recorded 25 Oct 2026 16:19:16 UTC. Read the latest advisory.
nvd · CVE-2026-84504
Publishedfastify 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-84504 · CVE overview and exploitation status
nvd · CVE-2026-84504
This historical advisory does not include today's related changes. Open the latest advisory to find current connections.