HackerFeeds
All CVEs

CVE-2026-129504: @fastify/express Incorrect Authorization

CRITICAL9.1

Published 2026-11-21 · Updated 2026-11-23 · Source ce714d77-add3-4f53-aff5-83d477b104bb

Remotely exploitable without authentication — update @fastify/express to 4.0.10 or later as a priority.

What to do

  1. Update @fastify/express to version 4.0.10 or later. Versions before 4.0.10 are affected.
  2. Until it is patched, do not leave @fastify/express reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
  3. Restrict access to the affected feature and review logs for use by accounts that should not have it.

Affected and fixed versions

ProductAffectedFixed in
@fastify/express< 4.0.104.0.10

Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.

How it can be exploited

It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on confidentiality and integrity is rated high.

CVSS 3.1 metrics for CVE-2026-129504
Attack vectorNetworkIt can be exploited remotely over the network.
Attack complexityLowNo special conditions are needed; the attack is repeatable.
Privileges requiredNoneThe attacker does not need an account.
User interactionNoneNo action by a victim is needed.
ConfidentialityHighTotal loss of confidentiality.
IntegrityHighTotal loss of integrity.
AvailabilityNoneNo effect on availability.

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

Weakness: Incorrect Authorization

An authorization check exists but is wrong, so users can perform actions they should not be allowed to.

Classified as CWE-436, CWE-863.

Description

@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, the plugin joins a path-scoped middleware's mount path to the Fastify plugin prefix by string concatenation, so when the plugin prefix ends with a slash or the mount path omits its leading slash, the resulting Express mount path does not line up with the route the Fastify router serves. Express then fails to match and passes the request on while the Fastify router still dispatches the route, so the middleware is silently skipped. An application that uses path-scoped Express middleware for authentication or authorization inside a prefixed plugin can expose protected routes to unauthenticated clients, with no crafted request and no non-default option required, and string, array, and regular-expression mount paths are all affected. The issue is fixed in @fastify/express 4.0.10, and users should upgrade to 4.0.10 or later.

Advisory text as published in the NVD record.

View on NVD