CVE-2026-25223 Fastify's Content-Type header tab character allows body validation bypass
설명
Fastify is a fast and low overhead web framework, for Node.js. Prior to version 5.7.2, a validation bypass vulnerability exists in Fastify where request body validation schemas specified by Content-Type can be completely circumvented. By appending a tab character (\t) followed by arbitrary content to the Content-Type header, attackers can bypass body validation while the server still processes the body as the original content type. This issue has been patched in version 5.7.2.
영향 받는 제품 제품 1개
-
해결 버전 있음
fastify
fastify
영향 받는 버전
- 5.7.2 미만
해결 버전
- 5.7.2 이상
참고 자료 6건
- fastify.dev https://fastify.dev/docs/latest/Reference/Validation-and-Serialization (새 창)
- github.com https://github.com/fastify/fastify/blob/759e9787b5669abf953068e42a17bffba7521348/lib/content-type-parser.js#L125 (새 창)
- github.com https://github.com/fastify/fastify/blob/759e9787b5669abf953068e42a17bffba7521348/lib/validation.js#L272 (새 창)
- github.com https://github.com/fastify/fastify/commit/32d7b6add39ddf082d92579a58bea7018c5ac821 (새 창)
- github.com https://github.com/fastify/fastify/security/advisories/GHSA-jx2c-rxcm-jvmq (새 창)
- hackerone.com https://hackerone.com/reports/3464114 (새 창)