8.1

CVE-2026-84504: fastify vulnerable to request body replacement via an async validation result collision

Analyzed
AliasesGHSA-667r-xxjv-c9mmCGA-wmp8-pj9q-g78fCGA-9x5q-ggqx-8g2q
Published 04-09-2026Last modified 04-09-2026

Vulnerability summary

CVE-2026-84504 is a high (CVSS 8.1) Improper Input Validation vulnerability in fastify. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 19.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 8.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.26%
0%100%
Low · -0.17 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 04-09-2026
    PublishedVulnerability first disclosed.
  2. 04-09-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

19%

Versus all other CVEs

30-day change

Decrease -0.17 pp

From 0.43% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard2 products
  • postgres-metaAll versions (No fix recorded)
  • postgres-meta-fipsAll versions (No fix recorded)
Fastify1 product
Npm1 product
  • fastify< 5.12.2

3 vendors · 4 products

References

7 links