Skip to content

Path Traversal in @fastify/static

CVE-2026-15074 First seen on SecPulse

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

@fastify/staticの10.1.0以前では、パスのドットドット区切りが拒否されず、認証なしの攻撃者がルート単位のミドルウェアを迂回して、静的ルート内のファイルを読み取れるおそれがあります。静的ルートの外には直接は及びません。修正版の10.1.1が公開されているため、速やかに更新してください。

What is the problem

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

Affected scope

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

Severity

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

How to fix

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

Workaround

情報なし

Detection

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

Affected packages

PackageAffected → Fixed
npm@fastify/static
< 10.1.1→ 10.1.1
Original description The description as published by the source.

@fastify/static up to and including version 10.1.0 fails to reject dot-dot path segments in request pathnames before the file-resolution stage. This is a bypass of the earlier fix for CVE-2026-6414, which only covered encoded forward slashes. Because the underlying send library normalizes dot segments before applying its own path-traversal guard, an unauthenticated attacker can bypass any route-scoped middleware and read files inside the static root that live under the guarded URL prefix. The bypass does not allow access outside the configured static root by itself, it defeats route-guard filtering only. The issue is patched in @fastify/static 10.1.1.

Source: NIST National Vulnerability Database NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details