CVE-2026-84504Fastify
High 8.1
Follow: this CVE · Fastify · Fastify We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 8.1
- EPSS
- —
- Auth required
- Yes
- Published
- Sep 4, 2026
- Updated
- Sep 15, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
What happens
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 to do
- Apply the vendor's security update for Fastify.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | fastify |
< 5.12.2 |
5.12.2 |
npm install fastify@5.12.2 |
Per OSV / GitHub Advisories (GHSA-667r-xxjv-c9mm). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| fastify | fastify | < 5.12.2 |
Official sources
References
Links published by the sources. Open them with care.
- cna.openjsf.org Third Party Advisory
- github.com Mitigation Vendor Advisory