PT-2026-63567
CVE-2026-7120
·
Published
2026-07-23
·
Updated
2026-07-24
Description by
CVSS 3.1
5.3
MediumMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions
@fastify/static versions prior to 10.1.2
Description
An unauthenticated attacker can bypass path-based filtering because the
allowedPath callback is evaluated before the normalization of dot segments and duplicate path separators in the pathname used for file resolution. By requesting non-canonical pathnames, such as //file, /./file, or /public/../private/file, an attacker can access files that were intended to be denied. This issue defeats the security boundary established by allowedPath but does not allow access outside the configured static root.Recommendations
Upgrade to @fastify/static version 10.1.2 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾