CVE-2026-6414
Last modified
CVE-2026-6414 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. @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. EPSS estimates a 0.40% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Fastify | Fastify-Static | >= 8.0.0, < 9.1.1 |
References
- https://cna.openjsf.org/security-advisories.htmlThird Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-6414?
How severe is CVE-2026-6414?
How do I fix CVE-2026-6414?
Are you affected by CVE-2026-6414?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
