Skip to main content
← All vulnerabilities
CVE-2026-92081GHSA-4MH8-R7RC-XPVC

fastify vulnerable to Denial of Service via unhandled exception on HTTP/2 trailer responses

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.12.5
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

fastify is a fast and low-overhead web framework for Node.js. In versions before 5.12.5, when a route registers a response trailer via reply.trailer() and is served over HTTP/2, fastify unconditionally sets the Transfer-Encoding: chunked header, which is forbidden on HTTP/2, so Node.js throws while serializing the response headers. The exception is not caught and becomes an uncaughtException, so a single unauthenticated HTTP/2 request to any route that uses trailers crashes the server process and drops all in-flight requests, and it can be repeated on every restart. The issue is fixed in fastify 5.12.5, and users should upgrade to 5.12.5 or later. As a workaround, avoid registering response trailers with reply.trailer() on routes served over HTTP/2 until upgrading.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • fastify fastify

    fixed in 5.12.5

  • fastifynpm

    fixed in 5.12.5

References 2

GitHub · fastify/fastify

cna.openjsf.org