PT-2026-63567 · Npm · Fastify-Static

·

CVE-2026-7120

·

Published

2026-07-23

·

Updated

2026-07-24

CVSS v3.1

5.3

Medium

VectorAV: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.

Exploit

Fix

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-7120
GHSA-8PVW-JCV7-9CMJ

Affected Products

Fastify-Static