PT-2026-111524 · Npm · Fastify
CVSS v3.1
3.7
Low
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
fastify versions 5.12.2 through 5.12.5
Description
A routine used to lowercase header names declared in a route schema fails to lowercase enum or const header names nested within a
propertyNames subschema. This causes header allow-lists or deny-lists using canonical casing to fail to match incoming lowercased headers, allowing restricted headers to bypass validation and reach the route handler. An attacker can exploit this to smuggle forbidden headers, compromising the integrity of request handling.Recommendations
Upgrade to version 5.12.6 or later.
Declare header names in lowercase to avoid the mismatch.
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Fastify