Medium severity · published Jul 23, 2026
CVE-2026-7120
@fastify/static vulnerable to Authorization Bypass via Non-Canonical URL Paths
5.3
CVSS
0.4%
EPSS
No
On KEV
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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 31% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
FA
@fastify/static · @fastify/static
before 10.1.2 · source: vendor
FA
Fastify-static · Fastify
before 10.1.2 · source: NVD
Affected product
FA
@fastify/static
@fastify/static
More from @fastify/static
7.5
CVE-2026-18427
@fastify/static vulnerable to route guard bypass via non-canonical path segments
7.5
CVE-2026-15074
@fastify/static vulnerable to route guard bypass via path traversal
5.9
CVE-2026-6414
@fastify/static vulnerable to route guard bypass via encoded path separators
5.3
CVE-2026-90982
@fastify/static vulnerable to route guard bypass via path case-folding
5.3
CVE-2026-6410
@fastify/static vulnerable to path traversal in directory listing