// Security Advisory Triage

Fastify request body replacement via async validation collision

GitHub advisories — npm · published 2026-10-01 04:39 UTC
ACTION NEEDED PATCH_NOW SECURITYAPI
WHAT CHANGEDCVE-2026-84504 published 30 September 2026. Fastify versions before 5.12.2 allow request body replacement through an async validation result collision. Patched in 5.12.2.
WHY IT MATTERSAn attacker can replace validated request bodies with malicious payloads after validation completes but before handler execution, bypassing input validation entirely. Any endpoint using async validation is exposed.
WHAT TO DOUpgrade fastify to 5.12.2 or later. Grep your package.json and lock files for "fastify": check the version constraint allows 5.12.2, then run your update workflow.
Model-reported confidence 95% (not measured accuracy) Primary source ↗ written by anthropic/claude-sonnet-4.5
Show the reasoning — raw diff, triage verdict, confidence
RAW DIFF
+ghsa_id: GHSA-667r-xxjv-c9mm
+summary: fastify vulnerable to request body replacement via an async validation result collision
+severity: high
+published_at: 2026-09-30T23:45:45Z
+cve_id: CVE-2026-84504
+vulnerabilities[].package.name: fastify
+vulnerabilities[].first_patched_version: 5.12.2
HOW IT WAS JUDGED
Triage signals below are model-reported assertions, preserved verbatim; they are not independent arithmetic verification.
triage verdictMATERIAL at 0.92, needed 0.5
triage reasoningFastify is a core web framework in Node.js dependency trees. Request body replacement is a critical attack surface.
signalsknown_cve_assigned · high_severity · web_framework · patched_version_available · request_body_handling_vulnerability
suppression—
triage modelanthropic/claude-haiku-4.5 ($0.00000)
writer modelanthropic/claude-sonnet-4.5 ($0.00000)