p PatchFirst

PatchFirst · Latest vulnerabilities

@fastify/static vulnerabilities

Vulnerabilities published for @fastify/static in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 4

  1. CVE-2026-15074

    High · CVSS 7.5EPSS 0.67%Fix available

    @fastify/static vulnerable to route guard bypass via path traversal

    @fastify/static up to and including version 10.1.0 fails to reject dot-dot path segments in request pathnames before the file-resolution stage. This is a bypass of the earlier fix for CVE-2026-6414, which only covered encoded forward slashes. Because the underlying send library normalizes dot segments before applying its own path-traversal guard, an unauthenticated attacker can bypass any route-scoped middleware and read files inside the static root that live under the guarded URL prefix. The bypass does not allow access outside the configured static root by itself, it defeats route-guard filtering only. The issue is patched in @fastify/stati

    • Update to 10.1.1
    Published Updated
  2. CVE-2026-7120

    Medium · CVSS 5.3EPSS 0.37%Fix available

    @fastify/static vulnerable to Authorization Bypass via Non-Canonical URL Paths

    @fastify/static evaluates the allowedPath callback before normalizing dot segments and duplicate path separators in the pathname used for file resolution. Versions up to and including 10.1.1 are affected. An unauthenticated attacker can bypass allowedPath restrictions by requesting equivalent non-canonical pathnames, causing files that were intended to be denied to be served anyway. The bypass does not allow access outside the configured static root by itself, it defeats path-based filtering only. The issue is patched in @fastify/static 10.1.2.

    • Update to 10.1.2
    Published Updated
  3. CVE-2026-6410

    Medium · CVSS 5.3EPSS 0.51%Fix available

    @fastify/static vulnerable to path traversal in directory listing

    @fastify/static versions 8.0.0 through 9.1.0 allow path traversal when directory listing is enabled via the list option. The dirList.path() function resolves directories outside the configured static root using path.join() without a containment check. A remote unauthenticated attacker can obtain directory listings for arbitrary directories accessible to the Node.js process, disclosing directory and file names. File contents are not disclosed. Upgrade to @fastify/static 9.1.1 to fix this issue. As a workaround, disable directory listing by removing the list option from the plugin configuration.

    • Update to 9.1.1
    Published Updated
  4. CVE-2026-6414

    Medium · CVSS 5.9EPSS 0.42%Fix available

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

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

    • Update to 9.1.1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →