本文へ移動

#CVE-2026-129504

脆弱性の一覧へ戻る

編集部の見出し:@fastify/express:プレフィックスとの連結の誤りでスコープ付きミドルウェアが無効になる(9.1)

CVE(NVD)CVSS 9.1 CriticalEPSS 0.5%

NVD の情報

@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.

公開日
2026-11-21
最終更新(NVD)
2026-11-23
NVD の状態
Awaiting Analysis
脆弱性の種類
CWE-436、CWE-863

深刻度(CVSS)

  • 9.1 CriticalCVSS 3.1/副/評価:ce714d77-add3-4f53-aff5-83d477b104bbCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

悪用の状況

CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。

EPSS:今後30日に悪用される推定確率 0.49%(全体の上位 57.1%、評価日 2026-11-23)

解消方法

  • @fastify/express のバージョンアップ4.0.10 以降根拠:公告(編集部の転記)

「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。

編集部の記載(レポート掲載時)

レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。

2026-11-22 のレポート@fastify/express:プレフィックスとの連結の誤りでスコープ付きミドルウェアが無効になる(9.1)

Fastify と Express のパス解釈のずれで認証ミドルウェアを素通りされる一連の件の一つ。

悪用状況(編集部):悪用の報告は確認されていない

公告に記載の修正版

参照(NVD)

NVD から取得:2026-11-23T17:50:17.167Z/EPSS 評価日:2026-11-23

This product uses the NVD API but is not endorsed or certified by the NVD.

悪用の確認情報は CISA Known Exploited Vulnerabilities Catalog(NVD 経由で取得)によります。EPSS は FIRST(www.first.org/epss)によります。