Skip to content
Threat Feed
high advisory

Fastify @fastify/express security bypass (CVE-2026-129850)

The @fastify/express library, versions 4.0.0 through 4.0.9, contains a path-matching discrepancy when case-insensitive routing is enabled, allowing an unauthenticated client to bypass path-scoped middleware.

CVE search metadata

CVE search record: CVE-2026-129850. Severity: high. CVSS: 7.4. KEV: no. Product: @fastify/express. Brief: Fastify @fastify/express security bypass (CVE-2026-129850). Brief link: https://feed.craftedsignal.io/briefs/2026-11-fastify-express-bypass-cve-2026-129850/

Triage facts

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

Overview

@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, when Fastify routing is configured to be case-insensitive, the router folds the request path to lower case in a way that maps certain non-ASCII Unicode characters to ASCII letters, but @fastify/express matches Express mount paths against the decoded path without applying the same folding.

Attack Chain

The router and the @fastify/express compatibility layer disagree during path processing. When a request spells a letter of a mount path with an equivalent Unicode character, the Fastify router routes the request to the handler while the path-scoped middleware mounted on that path fails to match and is skipped. This occurs only when the application enables case-insensitive routing and the mount path contains an affected letter.

Impact

An unauthenticated client can reach a handler that an authentication, authorization, or rate-limiting middleware was meant to protect, resulting in potential security bypass.

Recommendation

This issue is fixed in @fastify/express 4.0.10. Users should upgrade to version 4.0.10 or later.