CVE-2026-84504Fastify improper input validation
CVSS score
8.1
High
CVSS 3.1 from ce714d77-add3-4f53-aff5-83d477b104bb
Exploit probability (EPSS)
0.43%
0.43% chance of exploitation in the next 30 days, higher than 37.8% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: ce714d77-add3-4f53-aff5-83d477b104bb
How to fix it, step by step
Check whether you're affected
Find every system running Fastify and compare its version with the affected versions.
Update to a fixed version
- Update Fastify to 5.12.2 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Affected products
| Affected products | Versions |
|---|---|
| fastify Fastify | < 5.12.2 |
Weakness
- CWE-20 improper input validation
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-84504 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-84504?
CVE-2026-84504 has a CVSS 3.1 base score of 8.1 (high).
Which versions are affected?
Fastify Fastify (< 5.12.2)
Is there a patch for CVE-2026-84504?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/fastify/fastify/security/advisories/GHSA-667r-xxjv-c9mm(Mitigation, Vendor Advisory)
- cna.openjsf.org/security-advisories.html(Third Party Advisory)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.