Uncaught Exception Affecting fastify package, versions <5.12.5


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Uncaught Exception vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-FASTIFY-19883909
  • published17 Sept 2026
  • disclosed16 Sept 2026
  • creditzerovulnlabs

Introduced: 16 Sep 2026

NewCVE-2026-92081  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade fastify to version 5.12.5 or higher.

Overview

fastify is an overhead web framework, for Node.js.

Affected versions of this package are vulnerable to Uncaught Exception via the reply.trailer function when handling HTTP/2 trailer responses. An attacker can cause the server process to crash and terminate all active requests by sending a single unauthenticated HTTP/2 request to any route that registers a response trailer. This can be repeated after each restart to continually disrupt service.

Workaround

This vulnerability can be mitigated by avoiding the registration of response trailers with reply.trailer on routes served over HTTP/2 until upgrading.

CVSS Base Scores

version 4.0
version 3.1