CVE-2026-15074 Details
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.
A vulnerability in the @fastify/static package, affecting versions through 10.1.0, allows for a bypass of route-based middleware and guards. This is achieved by exploiting non-leading dot-dot path segments in request pathnames, which are not properly normalized before the file resolution stage. As a result, an unauthenticated attacker can access files within the static root that are supposed to be protected by route guards. The vulnerability arises because the static plugin's routing does not account for unencoded dot segments, enabling requests to bypass intended protections and access guarded files.
Users are advised to upgrade to @fastify/static version 10.1.1. If upgrading is not possible, do not use route-based middlewares or guards to protect files served by @fastify/static.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 23, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cna.openjsf.org/security-advisories.html | openjs | Vendor Advisory |
| https://github.com/fastify/fastify-static/security/advisories/GHSA-83w8-p2f5-377r | openjs | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | openjs |
Affected Products
| Product | Versions |
|---|---|
| fastify fastify-static | < 10.1.1 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 28, 2026 | Initial Analysis | [email protected] |
| Jul 23, 2026 | CVE Modified | CISA-ADP |
| Jul 23, 2026 | New CVE Received | openjs |