Interpretation Conflict Affecting @fastify/express package, versions >=4.0.7 <4.0.14


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.44% (30th 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 IDSNYK-JS-FASTIFYEXPRESS-23050799
  • published30 Nov 2026
  • disclosed26 Nov 2026
  • creditMatteo Collina

Introduced: 26 Nov 2026

NewCVE-2026-135264  (opens in a new tab)
CWE-436  (opens in a new tab)

How to fix?

Upgrade @fastify/express to version 4.0.14 or higher.

Overview

@fastify/express is an Express compatibility layer for Fastify

Affected versions of this package are vulnerable to Interpretation Conflict via the fastify.use() path-rewriting logic 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, causing the middleware to never run for those routes. Additionally, a nested regular-expression mount retains its global or sticky flag and is matched statefully, causing it to be 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 empty-segment check. An attacker can exploit any of these gaps to bypass authentication or other middleware-based access controls on the affected routes.

CVSS Base Scores

version 4.0
version 3.1