CVE-2026-84469: Fastify Request Validation Bypass via Skipped Boolean False Schemas

fastify Updated 01 Oct 2026

Summary

30/09/2026
Yes i
High
7.5

CVE-2026-84469: fastify vulnerable to request validation bypass via skipped boolean false schemas. Affects fastify versions < 5.12.2. Fixed in 5.12.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Fastify is a web framework designed for building efficient and scalable server-side applications in Node.js. It is known for its high performance and low overhead, making it a popular choice for developers. However, it has a vulnerability that allows for request validation bypass, which can lead to unauthorized access to application handlers.

Vulnerability Detail

The vulnerability arises from Fastify's method of determining whether to validate a request part based on JavaScript truthiness. In JSON Schema Draft 7, a boolean 'false' is a valid schema that should reject all instances. However, since 'false' is considered falsy in JavaScript, routes that set 'body', 'querystring', 'params', or 'headers' to 'false' do not compile a validator, allowing unauthenticated remote clients to bypass validation and reach the handler with any input. This is a complete bypass of security measures, as 'false' is intended to deny all requests.

How To Fix

Latest published version: 5.12.7 as of 22 Oct 2026

npm install fastify@5.12.7

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

5.12.2

This is the first release that contains the fix.

npm install fastify@5.12.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading is not immediately possible, you can implement a workaround by using an always-failing object schema instead of the boolean 'false'. For example, you can define your request schema as follows: { "not": {} }. This will effectively deny all requests until you can upgrade.

Conclusion

The CVE-2026-84469 vulnerability in Fastify poses a significant risk by allowing request validation bypass through the use of boolean false schemas. It is crucial to update to the patched version or implement the recommended workarounds to secure your application.

See every vulnerability recorded for fastify →

Share this vulnerability

FAQ

CVE-2026-84469 is a vulnerability in Fastify that allows for request validation bypass due to the improper handling of boolean false schemas.

This vulnerability can allow unauthorized users to access application handlers without proper validation, potentially leading to data exposure or manipulation.

Versions of Fastify prior to 5.12.2 are affected by this vulnerability.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. You can check your application using the Vulert playground at Vulert Scanner without any signup.

The CVSS score of this vulnerability is 7.5, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for fastify.

How To Fix

Latest published version: 5.12.7 as of 22 Oct 2026

npm install fastify@5.12.7

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

5.12.2

This is the first release that contains the fix.

npm install fastify@5.12.2

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback