Fastify Fastify
CVE-2026-84504
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.
What this means for your business
- It affects Fastify. It matters if your company, or a supplier that handles your data, runs it.
- An attacker can use it remotely, over a network, with an ordinary user login, and without anyone at your company clicking anything.
- FIRST's prediction model gives it a 0.4% chance of attack attempts being seen in the next 30 days, ranking above 34% of all known flaws.
What to do
- 1Check whether your company or your suppliers run Fastify, and which version. The affected versions are listed further down this page.
- 2If you do, apply the vendor's fix. A patch or vendor advisory has been published.
Fastnexa security experts
Not sure if your company is exposed to CVE-2026-84504?
Tell us where you run Fastify Fastify and a Fastnexa penetration tester will check whether this flaw, or others like it, can be used against your websites, apps and network.
The full test is free for our first 10 founding clients until 31 December 2026. See the offer
Think you’ve already been hit? Don’t wait on a form: call or WhatsApp +1 (732) 454 2616. We reply within 1 hour, 24/7. Emergency help →
Scoring
- CVSS
- 8.1 (v3.1)
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N- Weakness
- CWE-20
- Assigned by
- ce714d77-add3-4f53-aff5-83d477b104bb
Dates
- Published
- 2026-09-04
- Last modified
- 2026-09-15
- Sources
- NVD
Affected products
- Fastify Fastify- 5.12.2
As listed in the NVD configuration data. Not a statement about your estate.