Skip to content
Threat Feed
critical advisory

Fastify Express: Authentication bypass vulnerability (CVE-2026-133120)

A path mismatch vulnerability in the @fastify/express compatibility layer allows unauthenticated attackers to bypass security middleware by manipulating request URLs.

CVE search metadata

CVE search record: CVE-2026-133120. Severity: critical. CVSS: 9.1. KEV: no. Product: @fastify/express. Brief: Fastify Express: Authentication bypass vulnerability (CVE-2026-133120). Brief link: https://feed.craftedsignal.io/briefs/2026-11-fastify-express-path-bypass-cve-2026-133120/

Triage facts

Revision 1
Applicability
@fastify/express
Evidence
Unknown
Severity
Critical
Sources
2 public sources
Freshness
Revision 1Nov 21, 21:26 UTC
Vulnerabilities
1 CVE
Source quality
A2Roughly even chance

Overview

@fastify/express is a compatibility layer that enables Express middleware to function within the Fastify web framework. In versions prior to 4.0.10, the plugin passes Express a request URL that does not always match the path dispatched by the Fastify router. This allows path-scoped Express middleware to be skipped while the underlying route handler still executes.

Attack Chain

Triggering conditions include specific request forms such as percent-decoding that rewrites a backslash to a slash or double-decodes an encoded percent sign, and request targets that begin with an asterisk. These discrepancies cause the middleware and the handler to disagree on the path or on parameter and query values.

Impact

An unauthenticated client can reach a route handler that authentication, authorization, or rate-limiting middleware was intended to protect. No special configuration is required for this bypass.

Recommendation

The vulnerability is resolved in @fastify/express 4.0.10. Users should upgrade to 4.0.10 or later.