CyberRota Analysis
AI-GeneratedThe vulnerability in @fastify/static affects versions up to 10.1.1, allowing unauthenticated attackers to bypass allowedPath restrictions by exploiting non-canonical pathnames, potentially serving restricted files. While the bypass does not grant access outside the configured static root, it undermines path-based filtering mechanisms. Developers and system administrators using affected versions should prioritize upgrading to version 10.1.2 to mitigate this risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.
Related CVEs
Other vulnerabilities affecting the same vendor(s)