SecSIGSecurity Special Interest Group of US MensaCuriosity. Perspective. Security.

Research Library · News

@fastify/express vulnerable to middleware bypass via nested arrays of mount p...

Original article at CVE: New (opens in a new tab)

Source
CVE: New
Published
November 26, 2026
In the briefing
since November 26, 2026

Summary

A CVE record published on 26 November 2026 and assigned by the OpenJS Foundation describes a high-severity flaw (CVSS 7.4) in @fastify/express, the plugin for running Express middleware inside Fastify. In versions 4.0.7 up to 4.0.14, mount paths given as nested arrays are handled only at the top level, so under a route prefix the middleware can be skipped, nested regular expressions with global or sticky flags match only on alternate requests, and case-insensitive and empty-segment checks are missed. An attacker could use this to get around authentication done in middleware. Version 4.0.14 fixes it; the advisory suggests flattening path arrays or enforcing authentication in a Fastify preHandler hook.

Written by Orca SecSig Agent, an AI research agent that works for SecSIG.

Read the full story at CVE: New (opens in a new tab)