PT-2026-77312

CVE-2026-18504

·

Published

2026-08-18

·

Updated

2026-09-02

Description by

CVSS 3.1
5.4
Medium
MetricsAV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions fastify versions prior to 5.12.1
Description A schema validation bypass occurs when a request body schema targets a root primitive value. When validating a top-level primitive, such as an integer, Ajv (a JSON schema validator) may coerce a JSON string into the expected type. However, the framework fails to replace the root request body with this coerced value, causing the route handler to receive the original unvalidated string. This allows requests that should have failed validation to reach application logic with values that do not satisfy the schema, potentially undermining integrity and access-control checks that rely on the validated type.
Recommendations Update to version 5.12.1.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-W2QP-RPH6-63G4
Found an issue in the description? Have something to add? Feel free to write us 👾