CVE-2026-84469
published high CVSS 3.1 · 7.5fastify vulnerable to request validation bypass via skipped boolean false schemas
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 decide whether to compile a request schema based on JavaScript truthiness, but JSON Schema Draft 7 defines the boolean false as a valid schema that rejects every instance. When an application assigns false to a route's body, querystring, params, or headers schema to deny all input, fastify treats it as a missing schema, compiles no validator, and runs the route handler on any request. An unauthenticated remote client can therefore reach a handler that a valid deny-all schema was intended to make unreachable, a complete validation bypass that can lead to unauthorized state changes or execution of disabled operations. 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-20 CWE-20: Improper Input Validation
References
2Provider assertions
2openjs · cna
fastify vulnerable to request validation bypass via skipped boolean false schemas
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- ac69aa7747161707253ef69325ba7c4d698e05431db2bb546a30c919b6dd092a
- Ingested
- 23 Sep 2026, 09:36:16 UTC
- Source record
- Official CVE record