CVE-2026-135205
7.4HighPublished Nov 26, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- High
- Privileges
- None
- User action
- None
- Impact
- High impact on confidentiality, integrity
- Weakness
- CWE-436, CWE-863
What an attacker gets
Attackers can bypass authentication or access control middleware on specific routes. This requires the application to have routes or mount paths defined without a leading slash within a prefixed plugin.
Root cause
The plugin inconsistently handles path concatenation when a route or mount path lacks a leading slash, causing middleware to be bypassed.
Affected versions
@fastify/middie versions 9.3.6 through 9.3.9
CVSS v3.1 · CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Fix & remediation
Upgrade to @fastify/middie 9.3.10 or later. As an interim mitigation, ensure all route and mount paths begin with a leading slash or move authentication logic to a preHandler hook.
$ npm install @fastify/middie@latestAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
@fastify/middie is the plugin that adds Express-style middleware support to the Fastify web framework. In versions 9.3.6 through 9.3.9, a route or mount path written without a leading slash inside a plugin registered under a prefix is handled inconsistently: the middleware is mounted with a separating slash after the prefix, while the route is concatenated directly onto the prefix, so a request to the concatenated path reaches the route handler without running the middleware mounted for it. An attacker can use this to bypass authentication or other middleware-based access controls on the affected routes. The issue is fixed in @fastify/middie 9.3.10, and users should upgrade to 9.3.10 or later. As a workaround, begin all route and mount paths with a slash, or enforce authentication in a Fastify hook such as preHandler that runs after the router resolves the request.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1374157.3HighRemote attackers can cause memory corruption or crashes by triggering an integer overflow in the JSON writer. This requires no authentication and can be exploited by sending a crafted JSON string to an application using the library.
- CVE-2026-1374147.3HighRemote attackers can execute arbitrary SQL queries to steal or modify data. No authentication is required to exploit this vulnerability.
- CVE-2026-1374127.3HighRemote attackers can execute arbitrary SQL queries to steal or modify database data. No authentication is required to exploit this vulnerability.
- CVE-2026-1374117.3HighRemote unauthenticated attackers can execute arbitrary SQL queries against your database. This allows them to read, modify, or delete sensitive application data.
- CVE-2026-1374097.3HighRemote attackers can execute arbitrary OS commands by injecting malicious input into the webcam configuration. This requires no authentication or user interaction.
- CVE-2026-1352807.4HighRemote attackers can bypass authentication and access control middleware by crafting specific Unicode or case-sensitive paths. This only affects applications that have explicitly enabled case-insensitive routing.