Skip to content
OpenAdvisories

Product · fastify

fastify

17 known vulnerabilities.

fastify at a glance

Last 12 months
14
Critical · all time
0
Exploited · all time
0
Public exploit · all time
1
New vulnerabilities per month · last 12 months
0 3 5 December 2025: 0 vulnerabilities Dec 2025 January 2026: 0 vulnerabilities February 2026: 2 vulnerabilities March 2026: 2 vulnerabilities Mar April 2026: 1 vulnerability May 2026: 0 vulnerabilities June 2026: 0 vulnerabilities Jun July 2026: 0 vulnerabilities August 2026: 2 vulnerabilities September 2026: 5 vulnerabilities Sep October 2026: 1 vulnerability November 2026: 1 vulnerability
Show as table
MonthVulnerabilitiesCritical
Nov 202610
Oct 202610
Sep 202650
Aug 202620
Jul 202600
Jun 202600
May 202600
Apr 202610
Mar 202620
Feb 202620
Jan 202600
Dec 202500
Nov 202500
Oct 202500
Sep 202500
Aug 202500
Jul 202500
Jun 202500
May 202500
Apr 202510
Mar 202500
Feb 202500
Jan 202500
Dec 202400

17 results · Feed

  • Medium 5.9

    fastify vulnerable to Denial of Service via uncaught exception on handlerTimeout with streaming responses

    fastify is a web framework for Node.js. In versions 5.8.0 through 5.12.7, when the server is configured with a nonzero handlerTimeout and a route returns a streaming response, a request whose stream has already sent its headers but stays open past the timeout…

  • Low 3.7

    fastify vulnerable to header validation bypass via case-sensitive propertyNames

    fastify is a fast and low overhead web framework for Node.js. In versions 5.12.2 through 5.12.5, the routine that lowercases header names declared in a route schema does not lowercase the enum or const header names nested inside a propertyNames subschema. As …

  • Medium 5.9

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

    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 forb…

  • High 7.5

    fastify vulnerable to header validation bypass via incomplete schema case normalization

    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 …

  • High 7.5

    fastify vulnerable to request validation bypass via skipped boolean false schemas

    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, que…

  • High 7.5

    fastify vulnerable to authentication bypass via malformed URLs reaching encapsulated not-found handlers

    fastify versions >= 4.0.0 and before 5.12.2 can route a malformed URL sent under one plugin prefix to the custom not-found handler of a different sibling plugin, and invoke it without the preHandler hook declared for that handler. The internal not-found route…

  • High 8.1

    fastify vulnerable to request body replacement via an async validation result collision

    fastify versions before 5.12.2 treat the object resolved by a successful Ajv async validator as the value result protocol used by custom validator compilers. If a request that passes its route schema contains a property named value at the root, fastify replac…

  • Medium 6.1

    fastify vulnerable to X-Forwarded-* spoofing under trustProxy hop-count

    fastify is a fast and low overhead web framework for Node.js. Impact: the fix for CVE-2026-3635 added a guard on the forwarded-header reads used to derive the request host, protocol, hostname, ip, and ips values, checking the connecting address. That guard cl…

  • Medium 5.4
    CVE-2026-18504 Public exploit

    fastify vulnerable to schema validation bypass via root primitive coercion mismatch

    fastify is a fast and low overhead web framework for Node.js. Versions of fastify before 5.12.1 are affected by a schema validation bypass when a request body schema targets a root primitive value. When the schema validates a top-level primitive such as an in…

  • High 7.5

    fastify vulnerable to Body Schema Validation Bypass via Leading Space in Content-Type Header

    Impact: Fastify applications using schema.body.content for per-content-type body validation can have validation bypassed entirely by prepending a space to the Content-Type header. The body is still parsed correctly but schema validation is skipped. This is a …

  • Medium 6.1

    Fastify request.protocol and request.host spoofable via X-Forwarded-Proto/Host from untrusted connections when trustProxy uses restrictive trust function

    Summary When trustProxy is configured with a restrictive trust function (e.g., a specific IP like trustProxy: '10.0.0.1', a subnet, a hop count, or a custom function), the request.protocol and request.host getters read X-Forwarded-Proto and X-Forwarded-Host h…

  • Medium 5.3

    Fastify's Missing End Anchor in "subtypeNameReg" Allows Malformed Content-Types to Pass Validation

    Fastify incorrectly accepts malformed `Content-Type` headers containing trailing characters after the subtype token, in violation of RFC 9110 §8.3.1(https://httpwg.org/specs/rfc9110.html#field.content-type). For example, a request sent with Content-Type: appl…

  • High 7.5

    Fastify's Content-Type header tab character allows body validation bypass

    Fastify is a fast and low overhead web framework, for Node.js. Prior to version 5.7.2, a validation bypass vulnerability exists in Fastify where request body validation schemas specified by Content-Type can be completely circumvented. By appending a tab chara…

  • Low 3.7

    Fastify Vulnerable to DoS via Unbounded Memory Allocation in sendWebStream

    Fastify is a fast and low overhead web framework, for Node.js. Prior to version 5.7.3, a denial-of-service vulnerability in Fastify’s Web Streams response handling can allow a remote client to exhaust server memory. Applications that return a ReadableStream (…

  • High 7.5

    Fastify vulnerable to invalid content-type parsing, which could lead to validation bypass

    Fastify is a fast and low overhead web framework, for Node.js. In versions 5.0.0 to 5.3.0 as well as version 4.29.0, applications that specify different validation strategies for different content types have a possibility to bypass validation by providing a _…

  • Medium 4.2

    Fastify vulnerable to Cross-Site Request Forgery (CSRF) attack via incorrect content type

    Fastify is a web framework with minimal overhead and plugin architecture. The attacker can use the incorrect `Content-Type` to bypass the `Pre-Flight` checking of `fetch`. `fetch()` requests with Content-Type’s essence as "application/x-www-form-urlencoded", …

  • High 7.5
    CVE-2022-39288 EPSS 59%

    Denial of service in Fastify via Content-Type header

    fastify is a fast and low overhead web framework, for Node.js. Affected versions of fastify are subject to a denial of service via malicious use of the Content-Type header. An attacker can send an invalid Content-Type header that can cause the application to …