CVE-2026-107832

low

Description

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.

References

https://github.com/fastify/fastify/security/advisories/GHSA-389g-gv7q-r4x8

https://github.com/fastify/fastify/releases/tag/v5.12.6

https://github.com/fastify/fastify/pull/7104

https://github.com/fastify/fastify/commit/35c32375731c111439682b2f9e6e0baed2694269

https://github.com/fastify/fastify/commit/3241fbd2f10a8ca1503533726836b53b6e8775a2

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-98697

https://cna.openjsf.org/security-advisories.html

Details

Source: Mitre, NVD

Published: 2026-10-13

Updated: 2026-10-15

Risk Information

CVSS v2

Base Score: 2.6

Vector: CVSS2#AV:N/AC:H/Au:N/C:N/I:P/A:N

Severity: Low

CVSS v3

Base Score: 3.7

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Severity: Low

EPSS

EPSS: 0.00257