CVE-2026-107832
published low CVSS 3.1 · 3.7fastify vulnerable to header validation bypass via case-sensitive propertyNames
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| fastify | — | fastify5.12.2 to < 5.12.6 (affected · semver) · 5.12.6 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 3.7 / 10
- Severity
- low
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| fastify | fastify | 5.12.2 to < 5.12.6 (affected · semver)5.12.6 (unaffected · semver)Default: unaffected | openjs · cna |
Weaknesses
1- CWE-178 CWE-178: Improper Handling of Case Sensitivity
References
2Provider assertions
2openjs · cna
fastify vulnerable to header validation bypass via case-sensitive propertyNames
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c3cc916724f9edbcf7f5bd72f0b0fa471e349c2c2dca819acc36f8e95e5918f5
- Ingested
- 15 Oct 2026, 20:29:31 UTC
- Source record
- Official CVE record