VulnWatch by ve1ve2
critical 9.1

CVE-2026-124626 | Fastify express up to 4.0.9 Middleware Matching improper authorization

Source:
VulDB recent entries
Published:
Fetched:
Updated:
Affects:
Fastify express

https://vuldb.com/vuln/442003 ↗

Vendor: FastifyProduct: expressRisk: criticalPhysical: NoLocal: NoRemote: YesExploit: NoCountermeasures: Upgrade

A vulnerability categorized as critical has been discovered in Fastify express up to 4.0.9. Affected by this vulnerability is an unknown functionality of the component Middleware Matching. The manipulation results in improper authorization. This vulnerability is reported as CVE-2026-124626. The attack can be launched remotely. No exploit exists. It is advisable to upgrade the affected component.

Linked vulnerabilities (1)

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

@fastify/express is a compatibility layer that lets Express middleware run inside the Fastify web framework. In versions 4.0.5 through 4.0.9, the plugin matches path-scoped Express middleware with a matcher that requires a non-empty value for a dynamic segment, while Fastify's router accepts an empty parameter or wildcard value. When a route and an Express middleware mount share a dynamic pattern, a request with an empty segment matches the Fastify route and runs the handler while the middleware mounted on that pattern is skipped, so on a scoped mount an unauthenticated request can reach a...

CWE: CWE-287, CWE-436Aliases: GHSA-662w-h4p6-jq4pNVD: Received

Also reported by (1)