Input validation error in Fastify - CVE-2026-18504
Published: August 19, 2026
Vulnerability details
The vulnerability allows a remote user to bypass application-enforced limits and disclose sensitive information.
The vulnerability exists due to improper input validation in root-level primitive body schema handling when processing crafted JSON request bodies with default type coercion enabled. A remote user can send a specially crafted request to bypass application-enforced limits and disclose sensitive information.
Only routes that use a root-level primitive body schema with default type coercion are affected. Object and array body schemas are not affected, and user interaction is not required.