脆弱性の一覧へ戻る
編集部の見出し:@fastify/express:パラメータ付きプレフィックス配下の正規表現マウントが一致しない(9.1)
NVD の情報
@fastify/express is a compatibility layer that lets Express middleware run inside the Fastify web framework. In versions 4.0.7 through 4.0.9, the plugin does not rewrite regular-expression mount paths to account for a parameterized plugin prefix, so when middleware is mounted with a regular expression inside a plugin registered under a parameterized prefix, the Express matcher treats the prefix parameter as literal text and never matches the real request path. As a result, Express silently skips that middleware while Fastify still runs the route handler, so an application that relies on regular-expression mounted middleware for authentication or authorization inside a parameterized-prefix plugin exposes protected routes to unauthenticated clients. No special configuration is required beyond a parameterized prefix and a regular-expression mount. 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-287、CWE-436
深刻度(CVSS)
- 9.1 CriticalCVSS 3.1/副/評価:ce714d77-add3-4f53-aff5-83d477b104bb
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
悪用の状況
CISA KEV には掲載されていません(掲載されていないことは、悪用されていないことの証明ではありません)。
EPSS:今後30日に悪用される推定確率 0.65%(全体の上位 47.8%、評価日 2026-11-23)
解消方法
- @fastify/express のバージョンアップ4.0.10 以降根拠:公告(編集部の転記)
「NVD の条件から推定」は、NVD が影響ありとする版の上限から読み取ったもので、修正版とは限りません。「解消方法の情報なし」は、修正が無いという意味ではありません。必ずベンダーの公告で確認してください。
編集部の記載(レポート掲載時)
レポートの編集部がベンダー公告などから転記した内容です。検証済みの値ではないため、必ず出典で確認してください。
2026-11-22 のレポート@fastify/express:パラメータ付きプレフィックス配下の正規表現マウントが一致しない(9.1)
Fastify と Express のパス解釈のずれで認証ミドルウェアを素通りされる一連の件の一つ。
悪用状況(編集部):悪用の報告は確認されていない
公告に記載の修正版
- @fastify/express 4.0.10公告
参照(NVD)
NVD から取得:2026-11-23T17:50:20.800Z/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)によります。