本文へ移動

#CVE-2026-133250

脆弱性の一覧へ戻る

編集部の見出し:@fastify/middie 9.3.7 以前:ミドルウェアのパス照合がルーターと食い違い、認証・認可・回数制限が飛ばされる(9.1)

CVE(NVD)CVSS 9.1 CriticalEPSS 0.7%

NVD の情報

@fastify/middie is the middleware engine for the Fastify web framework. In versions up to and including 9.3.7, middie matches path-scoped middleware against its own reading of the request path, which can differ from the path Fastify's router uses to dispatch the request. When the two disagree, the router can route a request to a handler covered by a middleware mount while middie skips that middleware, so an unauthenticated client reaches a handler that an authentication, authorization, or rate-limiting middleware was meant to protect, with no special configuration required. The mismatch is triggered by empty parameter or wildcard values, request targets that do not begin with a slash, and literal percent characters in a mount path. The issue is fixed in @fastify/middie 9.3.8, and users should upgrade to 9.3.8 or later.

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

深刻度(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.65%(全体の上位 47.8%、評価日 2026-11-23)

解消方法

  • @fastify/middie のバージョンアップ9.3.8 以降根拠:公告(編集部の転記)
  • 回避策(設定変更など)根拠:公告(編集部の転記)

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

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

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

2026-11-22 のレポート@fastify/middie 9.3.7 以前:ミドルウェアのパス照合がルーターと食い違い、認証・認可・回数制限が飛ばされる(9.1)

空のパラメータやワイルドカード、/ で始まらない要求、マウント先の % で発生。特別な設定は不要。

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

公告に記載の修正版

公告に記載の回避策

  • preHandler などルート解決後のフックで認証し、判定に request.url ではなく request.routeOptions.url を使う公告

参照(NVD)

NVD から取得:2026-11-23T17:50:23.652Z/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)によります。