CVE-2026-107832

published 13 Oct 2026 · updated 15 Oct 2026

fastify vulnerable to header validation bypass via case-sensitive propertyNames

3.7LowCVSS 3.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 5.12.6.

fastify is a fast and low overhead web framework for Node.js. In versions 5.12.2 through 5.12.5, the routine that lowercases header names declared in a route schema does not lowercase the enum or const header names nested inside a propertyNames subschema. As a result, a header allow-list or deny-list written with canonical (non-lowercase) casing never matches the incoming lowercased header, so a restricted header passes validation and reaches the route handler. An attacker can therefore bypass a case-sensitive header validation rule and smuggle a forbidden header past the schema, affecting the integrity of request handling. The issue is fixed in fastify 5.12.6, and users should upgrade to 5.12.6 or later. There is no workaround other than upgrading, though applications can declare header names in lowercase to avoid the mismatch.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
fastify>=5.12.2 <5.12.65.12.6

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-107832 severity on Zeptric[![CVE-2026-107832](https://zeptric.io/badge/cve/CVE-2026-107832.svg)](https://zeptric.io/cve/CVE-2026-107832)