CVE-2026-6414

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

MEDIUM
5.9
CVSS Score
Published: April 16, 2026 at 01:09 PM UTC
Updated: June 17, 2026 at 11:00 AM UTC
2 products affected across 2 vendorsFastify Static@fastify/static

Using @fastify/static by @fastify/static?

Get instant alerts when new vulnerabilities affect @fastify/static - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.9
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

8.0.0 ≤ v < 9.1.1
8.0.0 ≤ v < 9.1.18.0.0
Vendor states this is fixed in 9.1.1 (unaffected)

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.9MEDIUMopenjs
Vector?

Quick Info

StatusANALYZED
CWE
CWE-177

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card