5.3

CVE-2026-7120: @fastify/static vulnerable to Authorization Bypass via Non-Canonical URL Paths

Analyzed
AliasesGHSA-8pvw-jcv7-9cmj
Published 23-07-2026Last modified 23-07-2026

Vulnerability summary

CVE-2026-7120 is a medium (CVSS 5.3) vulnerability in fastify fastify-static. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 13.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.22%
0%100%
Low · -0.15 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 23-07-2026
    PublishedVulnerability first disclosed.
  2. 23-07-2026
    Last modifiedVulnerability information updated.

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 metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.22%

Chance of exploitation in the next 30 days

Percentile

14%

Versus all other CVEs

30-day change

Decrease -0.15 pp

From 0.37% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

@fastify1 product
  • static< 10.1.2
@fastify/static1 product
Fastify1 product

3 vendors · 3 products

References

6 links