An attacker can use any of these to bypass authentication or other middleware-based access controls on the affected routes.
- CVSS
- 7.4High
- Chance of exploitation (EPSS)
- 0.44%
- Published
- Nov 26, 2026
- In the news
- Not yet
What to do
A serious access control flaw in Fastify Express that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Fixed in: 4.0.14
Affected versions
- Fastify Express
- 4.0.7 to before 4.0.14
Description
@fastify/express is the plugin that lets an application run Express middleware and Express applications inside the Fastify web framework. In versions from 4.0.7 before 4.0.14, 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 and the middleware never runs for them, a nested regular-expression mount keeps its global or sticky flag and is matched statefully so it is 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 earlier empty-segment check. An attacker can use any of these to bypass authentication or other middleware-based access controls on the affected routes. The issue is fixed in @fastify/express 4.0.14, and users should upgrade to 4.0.14 or later. As a workaround, flatten mount path arrays before passing them to the plugin, or enforce authentication in a Fastify hook such as preHandler that runs after the router resolves the request.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-135264 published (CVSS 7.4) (Nov 26, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Thu, Nov 26, 2026
- CVECVE-2026-135264 published (CVSS 7.4)CVE Program · 17:17 UTC
References 2
- cna.openjsf.org /security-advisories.html
- github.com /fastify/fastify-express/security/advisories/GHSA-wjm9-696x-9549