CVE-2026-84504CWE-20

CVE-2026-84504

High · published September 4, 2026

CVSS v3.1
8.1
EPSS
0%
Percentile
36.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00428 · 36.1th percentile
Weakness
CWE-20 · Improper Input Validation
Published
2026-09-04T14:17Z
Affected products (1)
ProductVersionsFixed in
fastify/fastify< 5.12.25.12.2
References (2)
EPSS history
Timeline
  • 05 SEP 03:44Z
    EPSS moved — → 0%
    epss
  • 04 SEP 09:40Z
    fastify vulnerable to request body replacement via an async validation result collision
    cvelistv5