CVE-2026-6414

published 16 Apr 2026 · updated 16 Apr 2026

@fastify/static vulnerable to route guard bypass via encoded path separators

5.9MediumCVSS 5.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 9.1.1.

@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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
@fastify/static>=8.0.0 <9.1.19.1.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-6414 severity on Zeptric[![CVE-2026-6414](https://zeptric.io/badge/cve/CVE-2026-6414.svg)](https://zeptric.io/cve/CVE-2026-6414)