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

Research Library · News

@fastify/express vulnerable to RegExp middleware bypass via encoded line term...

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 high-severity CVE record (CVSS 7.4) published on 26 November 2026 by the OpenJS Foundation describes a bypass in @fastify/express from version 4.0.3 up to 4.0.14. The plugin decodes some percent-encoded characters that Express leaves encoded, including the Unicode line and paragraph separators. JavaScript regular expressions treat those as line ends, so a regex mount path using the dot fails to match while Fastify still routes the request, and the middleware on that path never runs. String mount paths are not affected. The fix is version 4.0.14; workarounds include string mounts, a character class or the dotAll flag, or authentication in a 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)