@fastify/static
npm4 known CVEs affecting this package
Aggregated from OSV, GitHub Security Advisories, NVD, and vendor advisories. Each CVE links to its full detail page with vendor advisories, patches, fixed versions, and remediation guidance.
CVEs affecting @fastify/staticpage 1 of 1
- CVE-2026-15074HIGHCVSS 7.5EG 7.5✓ Fixed in 10.1.12026-07-23
@fastify/static up to and including version 10.1.0 fails to reject dot-dot path segments in request pathnames before the file-resolution stage. This is a bypass of the earlier fix for CVE-2026-6414, which only covered encoded forward slash…
- CVE-2026-6410MEDIUMCVSS 5.3EG 5.3✓ Fixed in 9.1.12026-04-16
@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 contai…
- CVE-2026-6414MEDIUMCVSS 5.9EG 5.9✓ Fixed in 9.1.12026-04-16
@fastify/static versions 8.0.0 through 9.1.0 decode percent-encoded path separators (%2F) before filesystem resolution, while Fastify's router treats them as literal characters. This mismatch allows attackers to bypass route-based middlewa…
- CVE-2026-7120MEDIUMCVSS 5.3EG 5.3✓ Fixed in 10.1.22026-07-23
@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 by…
Check whether @fastify/static is used in your infrastructure
EchelonGraph scans your cloud and SBOMs to map every package to your actual deployments. See blast radius for @fastify/static CVEs against the assets you own.
Start Free Scan →