MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-18504GHSA-w2qp-rph6-63g4

fastify vulnerable to schema validation bypass via root primitive coercion mismatch

Not on CISA KEV
  • Overview

Summary

fastify is a fast and low overhead web framework for Node.js. Versions of fastify before 5.12.1 are affected by a schema validation bypass when a request body schema targets a root primitive value. When the schema validates a top-level primitive such as an integer, Ajv can coerce a JSON string into

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)
  • GitHub Advisory DB Source: GitHub Advisory Database (CC BY 4.0)
  • PoC-in-GitHub Source: PoC-in-GitHub