在 fastify 5.12.2 版本之前,该库通过 JavaScript 的“真值”(truthiness)判断来决定是否编译请求模式(request schema)。然而,JSON Schema Draft 7 明确定义布尔值 是一个有效的模式,其作用是拒绝所有实例。 当应用程序将路由的 body、querystring、params 或 headers 的模式(schema)设置为 以拒绝所有输入时,fastify 会将其视为“缺少模式”,从而不编译任何校验器(validator),导致路由处理函数(rout
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POC| CVE-2026-84504 | 8.1 HIGH | fastify vulnerable to request body replacement via an async validation result collision |
| CVE-2026-76169 | 7.5 HIGH | fastify vulnerable to authentication bypass via malformed URLs reaching encapsulated not-f |
| CVE-2026-84428 | 7.5 HIGH | fastify vulnerable to header validation bypass via incomplete schema case normalization |
No comments yet