PT-2026-68614 · Npm · Fastify-Static
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
@fastify/static versions prior to 10.1.3
Description
An incomplete fix for a route guard bypass allows an unauthenticated attacker to access files protected by a route-based guard. The static file handler failed to canonicalize dot segments, duplicate slashes, encoded dots, or backslashes before route matching and delegation to the send layer. By using a non-canonical path form, an attacker can bypass the guarded route to disclose the contents of protected files. This issue specifically affects applications that protect a subtree of the static root with a route-based guard, whereas those using the
allowedPath option remain unaffected.Recommendations
Update @fastify/static to version 10.1.3.
Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Fastify-Static