Live threats

All CVEs / Fastify

CVE-2026-6414Fastify-static

Medium 5.9 No auth needed

Priority
50
CVSS 3.1
5.9
EPSS
—
Auth required
No
Published
Apr 16, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-177
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Fastify-static.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @fastify/static ≥ 8.0.0 < 9.1.1 9.1.1 npm install @fastify/static@9.1.1

Per OSV / GitHub Advisories (GHSA-x428-ghpx-8j92). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
fastifyfastify-static≥ 8.0.0 < 9.1.1

Official sources

References

Links published by the sources. Open them with care.