5.3

CVE-2026-6410: fastify fastify-static Path Traversal

CVSS: 5.3v3.1MediumAnalyzed
AliasesGHSA-pr96-94w5-mx2h
Published 16-04-2026Last modified 16-04-2026

Vulnerability summary

CVE-2026-6410 is a medium (CVSS 5.3) Path Traversal vulnerability in fastify fastify-static. EPSS estimates a 0.53% chance of exploitation in the next 30 days, higher than 43.7% 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.53%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 16-04-2026
    PublishedVulnerability first disclosed.
  2. 16-04-2026
    Last modifiedVulnerability information updated.

Description

@fastify/static versions 8.0.0 through 9.1.0 allow path traversal when directory listing is enabled via the list option. The dirList.path() function resolves directories outside the configured static root using path.join() without a containment check. A remote unauthenticated attacker can obtain directory listings for arbitrary directories accessible to the Node.js process, disclosing directory and file names. File contents are not disclosed. Upgrade to @fastify/static 9.1.1 to fix this issue. As a workaround, disable directory listing by removing the list option from the plugin configuration.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.53%

Chance of exploitation in the next 30 days

Percentile

44%

Versus all other CVEs

30-day change

+0.02 pp

From 0.51% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.53%

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≥ 8.0.0, < 9.1.1
@fastify/static1 product
Fastify1 product

3 vendors · 3 products

References

4 links