Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › @fastify/express

Critical 9.1 5 CVEs Analysis

@fastify/express flaws in five CVEs let requests skip Express middleware; fix in 4.0.14

Five vulnerabilities in @fastify/express share one outcome: a request can reach a Fastify route handler while Express middleware on that path does not run. The most severe, CVE-2026-135279, is rated CRITICAL, and all five are fixed in 4.0.14.

What to look into

  • 5 vulnerabilities in @fastify/express: 1 critical, 4 high (CVSS up to 9.1).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-135279 (9.1 critical): @fastify/express is the plugin that lets an application run Express middleware and Express applications inside the Fastify web framework. In versions before 4.0.14, a request with an empty dynamic ro… An attacker without an account can exploit this over the network, without any user action.
  • 5 of 5 can be attacked over the network without logging in, 5 of them without anyone clicking anything.
  • Kinds of flaws: Interpretation Conflict (×4); Incorrect Authorization (×3); Improper Authentication; Improper Handling of Case Sensitivity.
JavaScriptNetwork devicesVulnerabilitiesWeb

Key points

  • All five flaws in @fastify/express let requests reach Fastify handlers while path-scoped Express middleware is skipped.
  • CVE-2026-135279 is the most severe (CRITICAL, CVSS 9.1) and involves empty dynamic route parameters.
  • The other four are rated HIGH (CVSS 7.4) and depend on specific settings or mount patterns, such as case-insensitive routing or nested mount arrays.
  • The records state that all five are fixed in 4.0.14; none state known exploitation.

What the batch covers

Five vulnerabilities were published together for @fastify/express, the plugin that runs Express middleware and Express applications inside the Fastify web framework. The records describe the same core outcome in each case: a request reaches a Fastify route handler while middleware mounted on the matching path is skipped. According to the records, an attacker could use this to bypass authentication or other middleware-based access controls, though the practical impact depends on the application.

Most severe issue

CVE-2026-135279 is rated CRITICAL (CVSS 9.1). It involves an empty dynamic route parameter. Fastify's router accepts an empty value that Express requires to be non-empty, so middleware inside an Express Router or sub-application is skipped. An unanchored regular-expression mount passed to the plugin is bypassed in the same way. The record says an earlier fix covered only mount paths passed directly to the plugin.

Other flaws grouped by theme

Four issues are rated HIGH (CVSS 7.4). CVE-2026-135280 affects only applications that enable case-insensitive routing, where Unicode case folding or case-sensitive matchers inside Express code cause mismatches. CVE-2026-135264 covers nested arrays of mount paths, which are only partly rewritten for prefixed plugins, along with stateful global or sticky regular expressions and nested dynamic paths. CVE-2026-135270 involves mount paths that begin with an Express 5 optional leading group, which receive an unintended slash. CVE-2026-135230 concerns percent-encoded Unicode line and paragraph separators, which break regular-expression mounts that use the dot metacharacter. The record says string mount paths are not affected by that last issue.

Exploitation and fixes

None of the records state that these flaws are known to be exploited. All five are fixed in @fastify/express 4.0.14, and the records advise upgrading to that version or later. The affected ranges differ: CVE-2026-135279 and CVE-2026-135280 apply to versions before 4.0.14, while CVE-2026-135264, CVE-2026-135270 and CVE-2026-135230 start at 4.0.7, 4.0.5 and 4.0.3 respectively, and each runs up to 4.0.14. Each record also lists workarounds, such as enforcing authentication in a Fastify preHandler hook that runs after routing.

What to do

  1. Upgrade @fastify/express to 4.0.14 or later.
  2. If an immediate upgrade is not possible, enforce authentication in a Fastify preHandler hook that runs after routing, as the records suggest.
  3. Check mount paths for empty route params, unanchored or nested regular expressions, nested arrays, and Unicode separators, and apply the workaround the relevant record gives.

Our article about all 5 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 5 vulnerabilities

  • CVE-2026-135279 9.1 @fastify/express is the plugin that lets an application run Express middleware and Express applications inside the Fastify web framework. In versions before 4.0.14, a request with an empty dynamic route parameter reaches a Fastify route ha…
  • CVE-2026-135280 7.4 @fastify/express is the plugin that lets an application run Express middleware and Express applications inside the Fastify web framework. In versions before 4.0.14, when an application enables case-insensitive routing, middleware mounted o…
  • CVE-2026-135264 7.4 @fastify/express is the plugin that lets an application run Express middleware and Express applications inside the Fastify web framework. In versions from 4.0.7 before 4.0.14, when middleware is mounted on a nested array of mount paths the…
  • CVE-2026-135270 7.4 @fastify/express is the plugin that lets an application run Express middleware and Express applications inside the Fastify web framework. In versions from 4.0.5 before 4.0.14, a mount path that begins with an Express 5 optional leading seg…
  • CVE-2026-135230 7.4 @fastify/express is the plugin that lets an application run Express middleware and Express applications inside the Fastify web framework. In versions from 4.0.3 before 4.0.14, the plugin decodes certain percent-encoded characters in the re…

Frequently asked questions

How many @fastify/express vulnerabilities were published on November 26, 2026?

5 vulnerabilities: 1 critical, 4 high, with CVSS scores up to 9.1.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-135279 (CVSS 9.1): @fastify/express is the plugin that lets an application run Express middleware and Express applications inside the Fastify web framework. In versions before 4.0.14, a request with an empty dynamic ro…

Original records