ZeroDay Brief
CVE-2026-129504

In versions 4.0.0 through 4.0.9, the plugin joins a path-scoped middleware's mount path to the Fastify plugin prefix by string concatenation, so when the plugin prefix ends with a slash or the mount…

CVSS
9.1Critical
Chance of exploitation (EPSS)
0.59%
Published
Nov 21, 2026
In the news
Not yet
More from this vendor

What to do

A critical access control flaw in Fastify Express that can be attacked over the network without logging in. No attacks are reported yet, but patch it soon.

Action: Check the vendor's advisory in the references and apply updates as soon as they are available.

Fixed in: 4.0.10

Affected versions
Fastify Express
4.0.0 to before 4.0.10

Description

@fastify/express is a compatibility layer that lets Express middleware run inside the Fastify web framework. In versions 4.0.0 through 4.0.9, the plugin joins a path-scoped middleware's mount path to the Fastify plugin prefix by string concatenation, so when the plugin prefix ends with a slash or the mount path omits its leading slash, the resulting Express mount path does not line up with the route the Fastify router serves. Express then fails to match and passes the request on while the Fastify router still dispatches the route, so the middleware is silently skipped. An application that uses path-scoped Express middleware for authentication or authorization inside a prefixed plugin can expose protected routes to unauthenticated clients, with no crafted request and no non-default option required, and string, array, and regular-expression mount paths are all affected. The issue is fixed in @fastify/express 4.0.10, and users should upgrade to 4.0.10 or later.

CWE-436CWE-863

Affected products

Get alerts for these →

Timeline 1

Latest change: CVE-2026-129504 published (CVSS 9.1) (Nov 21, 2026)

News, advisories, exploit code, scanner detection and exploitation, newest first.

Sat, Nov 21, 2026

  1. CVECVE-2026-129504 published (CVSS 9.1)CVE Program · 17:03 UTC

References 2

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”