{"description":"Trending threats, MITRE ATT\u0026CK coverage, and detection metadata. Fed continuously.","favicon":"https://feed.craftedsignal.io/favicon-32x32.png","feed_url":"https://feed.craftedsignal.io/vendors/@fastify/middie/feed.json","home_page_url":"https://feed.craftedsignal.io/","icon":"https://feed.craftedsignal.io/apple-touch-icon.png","items":[{"_cs_actors":[],"_cs_cpes":["cpe:2.3:a:fastify:middie:*:*:*:*:*:*:*:*"],"_cs_cves":[{"cvss":9.1,"id":"CVE-2026-133250"}],"_cs_exploited":false,"_cs_has_poc":false,"_cs_poc_references":[],"_cs_products":["@fastify/middie"],"_cs_severities":["critical"],"_cs_tags":["CVE-2026-133250","middleware","security-bypass"],"_cs_type":"advisory","_cs_vendors":["@fastify/middie"],"content_html":"\u003ch2 id=\"overview\"\u003eOverview\u003c/h2\u003e\n\u003cp\u003e@fastify/middie is the middleware engine for the Fastify web framework. In versions up to and including 9.3.7, middie matches path-scoped middleware against its own reading of the request path, which can differ from the path Fastify's router uses to dispatch the request. When the two disagree, the router can route a request to a handler covered by a middleware mount while middie skips that middleware.\u003c/p\u003e\n\u003ch2 id=\"attack-chain\"\u003eAttack Chain\u003c/h2\u003e\n\u003cp\u003eThe mismatch is triggered by empty parameter or wildcard values, request targets that do not begin with a slash, and literal percent characters in a mount path. This occurs without requiring special configuration.\u003c/p\u003e\n\u003ch2 id=\"impact\"\u003eImpact\u003c/h2\u003e\n\u003cp\u003eAn unauthenticated client can reach a handler that an authentication, authorization, or rate-limiting middleware was meant to protect, resulting in a bypass of security controls.\u003c/p\u003e\n\u003ch2 id=\"recommendation\"\u003eRecommendation\u003c/h2\u003e\n\u003cp\u003eThe issue is fixed in @fastify/middie 9.3.8, and users should upgrade to 9.3.8 or later.\u003c/p\u003e\n","date_modified":"2026-11-21T21:26:17Z","date_published":"2026-11-21T21:26:17Z","id":"https://feed.craftedsignal.io/briefs/2026-11-fastify-middie-bypass-cve-2026-133250/","summary":"A path-routing inconsistency in @fastify/middie versions 9.3.7 and earlier allows unauthenticated users to bypass security middleware by exploiting discrepancies between the middleware engine and the Fastify router.","title":"Fastify @fastify/middie path-routing security bypass (CVE-2026-133250)","url":"https://feed.craftedsignal.io/briefs/2026-11-fastify-middie-bypass-cve-2026-133250/"},{"_cs_actors":[],"_cs_cpes":["cpe:2.3:a:fastify:middie:*:*:*:*:*:*:*:*"],"_cs_cves":[{"cvss":7.4,"id":"CVE-2026-132131"}],"_cs_exploited":false,"_cs_has_poc":false,"_cs_poc_references":[],"_cs_products":["@fastify/middie"],"_cs_severities":["medium"],"_cs_tags":[],"_cs_type":"advisory","_cs_vendors":["@fastify/middie"],"content_html":"\u003ch2 id=\"overview\"\u003eOverview\u003c/h2\u003e\n\u003cp\u003e@fastify/middie, a middleware engine for the Fastify framework, contains a path normalization vulnerability. In versions 8.3.0 through 9.3.6, the internal helper that normalizes a path-scoped middleware's mount path only handles string inputs, but the .use() method also accepts an array of mount paths and passes it through unchanged, causing the normalization to silently do nothing. As a result, a trailing slash on an array element survives into the generated route-matching regular expression, and an element that is exactly the root path is dropped entirely.\u003c/p\u003e\n\u003ch2 id=\"attack-chain\"\u003eAttack Chain\u003c/h2\u003e\n\u003cp\u003eApplications are affected when they mount middleware on an array of paths where an element ends with a slash (including those introduced by a plugin prefix) or is exactly the root path. Requests to subroutes of these affected mount paths skip the intended path-scoped middleware, such as authentication, authorization, or rate limiting, while Fastify's router still dispatches them to the handler.\u003c/p\u003e\n\u003ch2 id=\"impact\"\u003eImpact\u003c/h2\u003e\n\u003cp\u003eAn unauthenticated client may reach protected routes by bypassing security middleware that was intended to restrict access.\u003c/p\u003e\n\u003ch2 id=\"recommendation\"\u003eRecommendation\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003eThe issue is fixed in @fastify/middie 9.3.7; users should upgrade to 9.3.7 or later.\u003c/li\u003e\n\u003cli\u003eAs a workaround, enforce authorization in a Fastify hook such as preHandler that runs after routing, and avoid array mount paths with a trailing slash element for security-relevant middleware.\u003c/li\u003e\n\u003c/ul\u003e\n","date_modified":"2026-11-19T13:46:35Z","date_published":"2026-11-19T13:46:35Z","id":"https://feed.craftedsignal.io/briefs/2026-11-fastify-middie-bypass-cve-2026-132131/","summary":"A path normalization vulnerability in @fastify/middie versions 8.3.0 through 9.3.6 allows for the bypass of path-scoped middleware by using array-based mount paths with trailing slashes or root path elements.","title":"Fastify: Middleware bypass in @fastify/middie (CVE-2026-132131)","url":"https://feed.craftedsignal.io/briefs/2026-11-fastify-middie-bypass-cve-2026-132131/"}],"language":"en","title":"CraftedSignal Threat Feed - @Fastify/Middie","version":"https://jsonfeed.org/version/1.1"}