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

Research Library · News

@fastify/express vulnerable to middleware bypass via empty route parameters i...

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 critical CVE record (CVSS 9.1) published on 26 November 2026 by the OpenJS Foundation covers @fastify/express before version 4.0.14. Fastify's router accepts an empty dynamic route parameter that Express treats as invalid, so a request with an empty value reaches the Fastify handler while middleware mounted inside an Express Router or sub-application is skipped; unanchored regular-expression mounts are bypassed the same way. The record says an earlier fix covered only paths passed to the plugin directly. Attackers could use this to evade middleware-based authentication. Users are told to upgrade to 4.0.14, or to enforce authentication in a preHandler hook, mount middleware on a static parent path, or require non-empty route parameters.

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)