本文へ移動

#CVE-2026-120213

脆弱性の一覧へ戻る

編集部の見出し:Fastify の @fastify/http-proxy:rewritePrefix 経由でプロキシ先のパスを抜け、上流の想定外のパスへ届く

CVE(NVD)CVSS 9.1 CriticalEPSS 0.7%

NVD の情報

@fastify/http-proxy is a Fastify plugin that proxies HTTP requests to an upstream server under a configured prefix. In versions 9.0.0 through 11.6.5, when an application uses parameterized prefix and rewritePrefix options to pin clients to a fixed upstream path, the plugin substitutes URL-decoded route parameters into rewritePrefix without re-encoding them. A parameter value that encodes a path separator together with a fragment or query delimiter therefore decodes into real separators and delimiters that inject extra upstream path segments and strip the mandatory suffix the rewritePrefix was meant to enforce, without using any dot-dot traversal. An unauthenticated remote attacker can use this to reach upstream locations outside the intended prefix, leading to path-restriction bypass and, depending on the upstream, server-side request forgery or authorization bypass in the proxied service. The issue is fixed in @fastify/http-proxy 11.6.6, and users should upgrade to 11.6.6 or later. There is no workaround other than upgrading.

公開日
2026-11-02
最終更新(NVD)
2026-11-02
NVD の状態
Awaiting Analysis
脆弱性の種類
CWE-22、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.69%(全体の上位 47.1%、評価日 2026-11-04)

解消方法

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

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

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

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

2026-11-02 のレポートFastify の @fastify/http-proxy:rewritePrefix 経由でプロキシ先のパスを抜け、上流の想定外のパスへ届く

Node.js のリバースプロキシ部品。prefix にルートパラメータを使い rewritePrefix で上流のパスを固定する構成で、デコード済みの値が再エンコードされず区切り文字が効く。認証不要、回避策なし。NVD の Secondary 評価(OpenJS Foundation CNA)で 3.1 の 9.1。

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

公告に記載の修正版

  • @fastify/http-proxy 11.6.6公告

参照(NVD)

NVD から取得:2026-11-05T11:55:17.806Z/EPSS 評価日:2026-11-04

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)によります。