CVE-2026-84469 PUBLISHED

fastify vulnerable to request validation bypass via skipped boolean false schemas

Assigner: openjs
Reserved: 01.09.2026 Published: 04.09.2026 Updated: 04.09.2026

fastify versions before 5.12.2 decide whether to compile a request schema based on JavaScript truthiness, but JSON Schema Draft 7 defines the boolean false as a valid schema that rejects every instance. When an application assigns false to a route's body, querystring, params, or headers schema to deny all input, fastify treats it as a missing schema, compiles no validator, and runs the route handler on any request. An unauthenticated remote client can therefore reach a handler that a valid deny-all schema was intended to make unreachable, a complete validation bypass that can lead to unauthorized state changes or execution of disabled operations. Users should upgrade to fastify 5.12.2 or later.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS Score: 7.5

Product Status

Vendor fastify
Product fastify
Versions Default: unaffected
  • affected from 0 to 5.12.2 (excl.)
  • Version 5.12.2 is unaffected

Credits

  • schecthellraiser606 reporter
  • mcollina remediation developer
  • UlisesGascon remediation developer
  • climba03003 remediation reviewer

References

Problem Types

  • CWE-20: Improper Input Validation CWE