本文へ移動
English version →
高 8.2

@fastify/reply-fromにパス・トラバーサルの脆弱性、未認証の要求で想定外のアップストリームに到達するおそれ

CVE-2026-117518 SecPulse初出

概要

@fastify/reply-fromの12.8.0以前には、バックスラッシュを使ったパスでトラバーサル検査を回避され、想定外のアップストリームのエンドポイントに到達されるおそれがある脆弱性があります。主な影響は機密情報の漏えいで、CVSSは8.2です。修正版の12.8.1以降に更新してください。回避策は確認されていないため、更新が必要です。

AI要約

SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。

@fastify/reply-fromの12.8.0以前には、バックスラッシュを使ったパスでトラバーサル検査を回避され、想定外のアップストリームのエンドポイントに到達されるおそれがある脆弱性があります。主な影響は機密情報の漏えいで、CVSSは8.2です。修正版の12.8.1以降に更新してください。回避策は確認されていないため、更新が必要です。

影響パッケージ

パッケージ影響を受ける版 → 修正版
@fastify/reply-from@fastify/reply-from
12.8.1 未満→ 12.8.1
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。

@fastify/reply-from is a Fastify plugin that forwards requests to an upstream HTTP server. In versions up to and including 12.8.0, the plugin validated proxy paths against forward-slash dot-segments only and then built the target with the WHATWG URL parser, which normalizes a backslash and its percent-encoded form to a forward slash on the http, https, ws, and wss schemes. A path that uses backslash dot-segments therefore bypasses the traversal check and resolves to a different upstream path, so an application that scopes proxying to an upstream prefix, or relies on route guards in front of the forwarding call, can have an unauthenticated request escape the intended prefix and reach other upstream endpoints. The resulting access to unintended upstream resources is primarily a confidentiality impact with limited integrity impact. The issue is fixed in @fastify/reply-from 12.8.1, where the path is normalized and any segment resolving to a single or double dot, along with control characters and ambiguous whitespace, is rejected before the URL is constructed, and users should upgrade to 12.8.1 or later. There is no workaround other than upgrading.

出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

参照URL

当サイトでは、アクセス解析と広告の効果測定のためにCookieを使います。株式会社Gameのサイト共通の設定です。 詳しく