High severityNVD Advisory· Published Jul 23, 2026· Updated Jul 23, 2026
@fastify/static vulnerable to route guard bypass via path traversal
CVE-2026-15074
Description
@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 slashes. Because the underlying send library normalizes dot segments before applying its own path-traversal guard, an unauthenticated attacker can bypass any route-scoped middleware and read files inside the static root that live under the guarded URL prefix. The bypass does not allow access outside the configured static root by itself, it defeats route-guard filtering only. The issue is patched in @fastify/static 10.1.1.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@fastify/staticnpm | < 10.1.1 | 10.1.1 |
Affected products
1- Range: <=10.1.0
Patches
Vulnerability mechanics
References
6- github.com/advisories/GHSA-83w8-p2f5-377rghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-15074ghsaADVISORY
- cna.openjsf.org/security-advisories.htmlghsaWEB
- github.com/fastify/fastify-static/commit/db4276f846ba56b21f93768cd6636ee5e2fc58b1ghsaWEB
- github.com/fastify/fastify-static/releases/tag/v10.1.1ghsaWEB
- github.com/fastify/fastify-static/security/advisories/GHSA-83w8-p2f5-377rghsaWEB
News mentions
0No linked articles in our index yet.