CVE-2026-84428
published high CVSS 3.1 · 7.5fastify vulnerable to header validation bypass via incomplete schema case normalization
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| fastify | — | fastify0 to < 5.12.2 (affected · semver) · 5.12.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | openjs |
Description
fastify versions before 5.12.2 implement the case-insensitive nature of HTTP header names by lowercasing names in a route's header schema before compiling it, but the transformation is incomplete: it lowercases the properties keys and the root-level required array, and does not lowercase the trigger and dependent names inside the JSON Schema Draft 7 dependencies keyword. Because Node stores request header names in lowercase, a canonical-case dependency such as requiring an authentication header whenever a privileged-mode header is present never matches, and the presence assertion is silently skipped. An unauthenticated remote client can therefore send the header that activates a privileged branch while omitting the header the dependency was meant to require, bypassing the conditional check. Users should upgrade to fastify 5.12.2 or later.
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
- 7.5 / 10
- Severity
- high
- Provider
- openjs · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/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 | 0 to < 5.12.2 (affected · semver)5.12.2 (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 incomplete schema case normalization
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 64373ebeb61f2ce73b80e5919f16bd209657b818fbcf46fd4429e0d748d72871
- Ingested
- 23 Sep 2026, 09:36:16 UTC
- Source record
- Official CVE record