7.4

CVE-2026-135264: @fastify/express vulnerable to middleware bypass via nested arrays of mount paths

Awaiting analysis
Published 26-11-2026Last modified 03-12-2026

Vulnerability summary

CVE-2026-135264 is a high (CVSS 7.4) Interpretation Conflict vulnerability in @fastify/express. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 39.5% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.4 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.4/10
010
High · v3.1 (CVE.org)
EPSS score
0.43%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 26-11-2026
    PublishedVulnerability first disclosed.
  2. 03-12-2026
    Last modifiedVulnerability information updated.

Description

@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 plugin rewrites only the top level of the array, so paths inside a nested array are not adjusted for a plugin registered under a prefix and the middleware never runs for them, a nested regular-expression mount keeps its global or sticky flag and is matched statefully so it is skipped on alternating requests, a nested regular expression is not matched case-insensitively when case sensitivity is disabled, and nested dynamic paths are not covered by the earlier empty-segment check. An attacker can use any of these to bypass authentication or other middleware-based access controls on the affected routes. The issue is fixed in @fastify/express 4.0.14, and users should upgrade to 4.0.14 or later. As a workaround, flatten mount path arrays before passing them to the plugin, or enforce authentication in a Fastify hook such as preHandler that runs after the router resolves the request.

CVSS metrics

2 scores · 2 sources · 1 version

EPSS trend

Probability

0.43%

Chance of exploitation in the next 30 days

Percentile

40%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

27-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

@fastify/express1 product

1 vendor · 1 product

References

2 links