Back to list

fastify vulnerable to request body replacement via an async validation result collision — GHSA-667R-XXJV-C9MM

GitHub · GitHub · GHSA-667R-XXJV-C9MM

ID
GHSA-667R-XXJV-C9MM
Date
Source
GitHub
Vendor
GitHub
Threat
high
CVSS
8.1
EPSS
0.00428

Summary

### Impact Fastify runs a route's validator and, for a result shaped like `{ value, error }`, unwraps it: an `error` becomes a validation failure and `value` replaces the request part. This convention is intended for synchronous custom compilers (for example Joi). A JSON Schema `$async` validator, however, resolves with the validated data itself, so Fastify applied the same unwrapping to it. If a request part…

Timeline

Published by source
2026-09-30

Risk context

  • Reported severity or threat level: high.
  • Reported CVSS score: 8.1 out of 10.
  • Reported EPSS value: 0.00428.
  • Review exposure for the affected product or family: npm: fastify.

Product

npm: fastify

What to do

General, cautious steps (verify details in the official source):

  • Prioritize patching or mitigation immediately (treat as actively risky).
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Evidence and provenance

Canonical advisory ID
GHSA-667R-XXJV-C9MM
Source
GitHub
Vendor
GitHub
Published by source
2026-09-30
Last source activity
2026-09-30
Additional identifiers
CVE-2026-84504
Curated by
hlukh.ch

Related advisories and connections

These advisories are connected by shared CVE, product, vendor, source, or time signals.