CVE-2026-6414
@fastify/static vulnerable to route guard bypass via encoded path separators
5.9CVSSMEDIUM
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 Vector Breakdown
Exploitability
AV:NAttack VectorNetwork
AC:HAttack ComplexityHigh
PR:NPrivileges RequiredNone
UI:NUser InteractionNone
Scope
S:UScopeUnchanged
Impact
C:HConfidentialityHigh
I:NIntegrityNone
A:NAvailabilityNone
Weaknesses
Affected Products
Exploitability
Official Patch Available
References
https://cna.openjsf.org/security-advisories.html
cna.openjsf.org
https://github.com/fastify/fastify-static/security/advisories/GHSA-x428-ghpx-8j92
github.com
https://github.com/fastify/middie/security/advisories/GHSA-cxrg-g7r8-w69p
github.com
and 1 more references View all →
Timeline
Published
Apr 16, 2026
Last Updated
Apr 23, 2026
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2026-6414 and every CVE in our database. Create a free account — no credit card required.
Create Free AccountPlain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows