5.3

CVE-2026-7120: fastify fastify-static

CVSS: 5.3v3.1MediumAnalyzed
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.37% chance of exploitation in the next 30 days, higher than 29.3% of scored vulnerabilities.

Overall risk
21/100
0100
Low · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.37%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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.37%

Chance of exploitation in the next 30 days

Percentile

29%

Versus all other CVEs

30-day change

0.00 pp

From 0.37% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.37%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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

3 vendors · 3 products

References

6 links