p PatchFirst

PatchFirst · Latest vulnerabilities

@fastify/middie vulnerabilities

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

Filter vulnerabilities
Clear filters

Vulnerabilities: 4

  1. CVE-2026-33804

    High · CVSS 7.4EPSS 0.28%Fix available

    @fastify/middie vulnerable to middleware bypass via deprecated ignoreDuplicateSlashes option

    @fastify/middie versions 9.3.1 and earlier are vulnerable to middleware bypass when the deprecated Fastify ignoreDuplicateSlashes option is enabled. The middleware path matching logic does not account for duplicate slash normalization performed by Fastify's router, allowing requests with duplicate slashes to bypass middleware authentication and authorization checks. This only affects applications using the deprecated ignoreDuplicateSlashes option. Upgrade to @fastify/middie 9.3.2 to fix this issue. There are no workarounds other than disabling the ignoreDuplicateSlashes option.

    • Update to 9.3.2
    Published Updated
  2. CVE-2026-6270

    Critical · CVSS 9.1EPSS 0.5%Fix available

    @fastify/middie vulnerable to middleware authentication bypass in child plugin scopes

    @fastify/middie versions 9.3.1 and earlier do not register inherited middleware directly on child plugin engine instances. When a Fastify application registers authentication middleware in a parent scope and then registers child plugins with @fastify/middie, the child scope does not inherit the parent middleware. This allows unauthenticated requests to reach routes defined in child plugin scopes, bypassing authentication and authorization checks. Upgrade to @fastify/middie 9.3.2 to fix this issue. There are no workarounds.

    • Update to 9.3.2
    Published Updated
  3. CVE-2026-2880

    High · CVSS 8.2EPSS 0.43%Fix available

    @fastify/middie has an improper path normalization vulnerability

    A vulnerability in @fastify/middie versions < 9.2.0 can result in authentication/authorization bypass when using path-scoped middleware (for example, app.use('/secret', auth)). When Fastify router normalization options are enabled (such as ignoreDuplicateSlashes, useSemicolonDelimiter, and related trailing-slash behavior), crafted request paths may bypass middleware checks while still being routed to protected handlers.

    • Update to 9.2.0
    Published Updated
  4. CVE-2026-22031

    High · CVSS 8.4EPSS 0.53%Fix available

    Fastify Middie Middleware Path Bypass

    @fastify/middie is the plugin that adds middleware support on steroids to Fastify. A security vulnerability exists in @fastify/middie prior to version 9.1.0 where middleware registered with a specific path prefix can be bypassed using URL-encoded characters (e.g., `/%61dmin` instead of `/admin`). While the middleware engine fails to match the encoded path and skips execution, the underlying Fastify router correctly decodes the path and matches the route handler, allowing attackers to access protected endpoints without the middleware constraints. Version 9.1.0 fixes the issue.

    • Update to 9.1.0
    Published Updated

Check your server

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

Check your server →