CVEFinder.io

CVE-2026-7120

🔶 medium
🔍 Scan for this CVE
Summary

@fastify/static evaluates the allowedPath callback before normalizing dot segments and duplicate path separators in the pathname used for file resolution. Versions up to and including 10.1.1 are affected. An unauthenticated attacker can bypass allowedPath restrictions by requesting equivalent non-canonical pathnames, causing files that were intended to be denied to be served anyway. The bypass does not allow access outside the configured static root by itself, it defeats path-based filtering onl

Description

@fastify/static evaluates the allowedPath callback before normalizing dot segments and duplicate path separators in the pathname used for file resolution. Versions up to and including 10.1.1 are affected. An unauthenticated attacker can bypass allowedPath restrictions by requesting equivalent non-canonical pathnames, causing files that were intended to be denied to be served anyway. The bypass does not allow access outside the configured static root by itself, it defeats path-based filtering only. The issue is patched in @fastify/static 10.1.2.

CVSS Score
5.3
Medium
EPSS Score
0.2
Exploit Probability
Published Date
2026-07-23
First Seen: 2026-07-31
📊 Relative Risk Intelligence

This CVE is Lower Risk - more severe than 19.4% of all 340,405 vulnerabilities in our database.

#274,198
Below average severity
Severity Percentile
🎯 CISA SSVC Assessment Updated: Jul 23, 2026
🔍 Exploitation Status
None
No known exploits
⚙️ Automatable
YES
Can be exploited automatically
💥 Technical Impact
Partial
Limited system impact
🏆 Discovered By
yuki-matsuhashi mcollina (remediation developer) UlisesGascon (remediation reviewer)
SSVC data provided by CISA
Last Modified 2026-07-28
Source NVD 🔗
CVSS Vector 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CWE IDs (Weakness Types)

📦 Affected Products 1

🔗 References 2

🔗 Related CVEs 3

CVE ID Severity CVSS EPSS Summary Published
CVE-2026-15074 ⚠️ high 7.5 0.5 @fastify/static up to and including version 10.1.0 fails to reject dot-dot path segments in request pathnames before the... 2026-07-23
CVE-2021-22963 🔶 medium 6.1 0.2 A redirect vulnerability in the fastify-static module version < 4.2.4 allows remote attackers to redirect users to arbit... 2021-10-14
CVE-2021-22964 ⚠️ high 8.8 0.4 A redirect vulnerability in the `fastify-static` module version >= 4.2.4 and < 4.4.1 allows remote attackers to redirect... 2021-10-14
These CVEs affect the same products