{"id":"EUVD-2026-61221","revision":"5b0487fc64a044fc88b6614c33e45138","records":[{"revision":"5b0487fc64a044fc88b6614c33e45138","observedAt":"2026-11-13T06:59:20.302+00:00","statement":{"source":"euvd","id":"EUVD-2026-61221","aliases":["CVE-2026-18504","GHSA-w2qp-rph6-63g4"],"title":"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 prim…","description":"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 the expected type during validation, but Fastify does not replace the root request body with the coerced value, so the route handler receives the original unvalidated string. As a result, a request that should have failed validation can reach application logic with a value that does not satisfy the schema, which can undermine integrity and access-control checks that rely on the validated type. Users should upgrade to fastify 5.12.1, which fixes the mismatch. No known workarounds are available.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"severity":null}],"references":["https://github.com/fastify/fastify/security/advisories/GHSA-w2qp-rph6-63g4","https://cna.openjsf.org/security-advisories.html"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-61221","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 18, 2026, 8:19:12 PM","dateUpdated":"Aug 19, 2026, 1:15:05 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-61221","identifiers":["EUVD-2026-61221","CVE-2026-18504","GHSA-w2qp-rph6-63g4"]},"retained":false,"historicalAffected":[]}],"coverage":[]}