CVE-2026-84504
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
fastifynpm | < 5.12.2 | 5.12.2 |
Affected products
1Patches
Vulnerability mechanics
References
6- cna.openjsf.org/security-advisories.htmlnvdThird Party AdvisoryWEB
- github.com/advisories/GHSA-667r-xxjv-c9mmghsaADVISORY
- github.com/fastify/fastify/security/advisories/GHSA-667r-xxjv-c9mmnvdMitigationVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-84504ghsaADVISORY
- github.com/fastify/fastify/commit/f02d8d4ab1ab208f10819c4dc213595b06497833ghsaWEB
- github.com/fastify/fastify/releases/tag/v5.12.2ghsaWEB
News mentions
0No linked articles in our index yet.