Path Mismatch Vulnerability in Fastify Compatibility Layer for Express
CVE-2026-133120
9.1CRITICAL
What is CVE-2026-133120?
A path mismatch vulnerability exists in @fastify/express, where the plugin allows certain Express middleware to be bypassed. This issue arises in versions prior to 4.0.10, where request URL handling can lead to a mismatch between the path the Fastify router dispatches and that which is processed by the Express middleware. Scenarios such as percent-decoding irregularities or requests beginning with an asterisk may inadvertently permit an unauthenticated client to access protected route handlers. To mitigate this risk, users are advised to upgrade to @fastify/express version 4.0.10 or later.
Affected Version(s)
@fastify/express 0 < 4.0.10
@fastify/express 4.0.10
