English version →
Webアプリケーション
CVE-2026-15074 high CVSS 7.5

@fastify/static vulnerable to route guard bypass via path traversal

概要

@fastify/static vulnerable to route guard bypass via path traversal

原文の説明

取得元が公開している説明をそのまま載せています (多くは英語)。

Impact

@fastify/static is vulnerable to a bypass of route-based middleware and guards via non-leading .. and %2E%2E path segments. find-my-way does not normalize .. when matching routes, so a request such as /foo/../deep/secret.txt matches the static plugin's catch-all instead of the guarded /deep/*. The getPathnameForSend helper introduced by the fix for GHSA-x428-ghpx-8j92 only guards against the %2F variant; .. and %2E%2E survive the decodeURI + encodeURI round-trip and are then collapsed away by @fastify/send's path.normalize before its own traversal guard runs.

Applications that rely on route-based middleware or guards to protect files served by @fastify/static can be bypassed with non-leading dot-dot path segments.

Patches

Upgrade to @fastify/static 10.1.1.

Workarounds

Do not use route-based middlewares or guards to protect files served by @fastify/static.

出典: NIST National Vulnerability Database NVD GitHub Advisory

AI要約

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

@fastify/staticのバージョン10.1.0までには、ファイル解決段階の前にリクエストのパス名でドットドットパスセグメントを拒否できない問題があります。この問題は認証されていない攻撃者が、ルートスコープのミドルウェアをバイパスして静的ルート内のファイルを読むことを可能にします。問題はバージョン10.1.1で修正されています。

❓ 何が問題か

@fastify/staticにおけるパストラバーサル脆弱性

📍 影響範囲

バージョン10.1.0までの@fastify/static

🔥 重要度

認証されていない攻撃者が静的ルート内のファイルを読み取ることが可能

🔧 修正方法

@fastify/staticをバージョン10.1.1以降にアップデートする

🛡️ 暫定回避

情報なし

🔍 検知方法

バージョン10.1.0以下を使用しているか確認する

影響パッケージ

npm @fastify/static
[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"10.1.1"}]}]

参照URL

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