Vulnerability record · CVE-2026-6414 · published 16 April 2026
CVE-2026-6414: Fastify-static vulnerability
Fastify · Fastify Static
@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 middleware or guards that protect files served by @fastify/static. For example, a route guard on a protected path can be circumvented by encoding the path separator in the URL. Upgrade to @fastify/static 9.1.1 to fix this issue. There are no workarounds.
Description
@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 middleware or guards that protect files served by @fastify/static. For example, a route guard on a protected path can be circumvented by encoding the path separator in the URL. Upgrade to @fastify/static 9.1.1 to fix this issue. There are no workarounds.
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://cna.openjsf.org/security-advisories.html | Third Party Advisory |
| https://github.com/fastify/fastify-static/security/advisories/GHSA-x428-ghpx-8j92 | Vendor Advisory |
| https://github.com/fastify/middie/security/advisories/GHSA-cxrg-g7r8-w69p | Not Applicable |
| https://github.com/honojs/hono/security/advisories/GHSA-q5qw-h33p-qvwr | Not Applicable |
Track CVE-2026-6414 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2026-6414), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.