Skip to content
High 8.2

@fastify/reply-fromにパス・トラバーサルの脆弱性、内部パスに到達されるおそれ

CVE-2026-127064 First seen on SecPulse

Summary

@fastify/reply-fromの12.8.4より前のバージョンには、セミコロンのパスパラメーターを含むパス・トラバーサルの脆弱性があります。認証なしの攻撃者が上流サーバーの内部パスに到達し、状態を変更するリクエストを送れるおそれがあります。修正版の12.8.4以降に更新してください。

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/reply-fromの12.8.4より前のバージョンには、セミコロンのパスパラメーターを含むパス・トラバーサルの脆弱性があります。認証なしの攻撃者が上流サーバーの内部パスに到達し、状態を変更するリクエストを送れるおそれがあります。修正版の12.8.4以降に更新してください。

Affected packages

PackageAffected → Fixed
@fastify/reply-from@fastify/reply-from
< 12.8.4→ 12.8.4
Original description The description as published by the source.

@fastify/reply-from is a Fastify plugin that forwards requests to an upstream HTTP server. In versions before 12.8.4, its buildURL function rejects parent-directory path segments by an exact string match, so a segment that carries a semicolon path parameter, such as a dot-dot segment followed by a semicolon and an optional parameter, is not equal to the plain dot-dot form and passes the traversal check, and the WHATWG URL parser keeps it as an ordinary segment so the base-prefix containment check also passes. Backends that strip semicolon path parameters before resolving dot-segments, such as Apache Tomcat, Jetty, WildFly, and Spring Boot, turn the segment back into a parent-directory reference and resolve it, so an unauthenticated client can escape the intended upstream prefix and reach internal paths such as admin or internal API endpoints, including with state-changing methods. Deployments that proxy to Node.js, nginx, or Express upstreams are not affected. The issue is fixed in @fastify/reply-from 12.8.4, and users should upgrade to 12.8.4 or later.

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

References

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