CVE-2026-85184 is a path-mismatch bypass in @fastify/middie that warrants more attention than its low EPSS score suggests. The vulnerability stems from an architectural invariant that Fastify does not enforce: middie evaluates the raw request target string to determine which middleware applies, while Fastify's router resolves that same target to an absolute path before dispatch. When these two strings diverge — specifically when an absolute-form target like https://example.com/admin is received — middie's path matching fails silently while the router successfully routes the request to the correct handler. The bypass produces exactly correct application behavior; there is no error, no rejection, no anomalous log entry. This is what makes it dangerous.
The silent nature of the bypass is the primary concern for defenders. Your auth middleware appears to be working because the handler executes and the response is valid. A developer testing auth logic against relative paths, as documentation examples invariably show, will never discover this gap. The vulnerability only manifests when a request arrives in a form the developer never considered. From a forensic perspective, post-incident reconstruction is difficult because standard access logs capture the resolved path that routing acted on, not the raw target that middie evaluated.
The upgrade to middie version 9.3.4 addresses this specific instance, but the underlying architectural problem is broader. This is the same class of vulnerability that has appeared in Express and Hapi — frameworks that resolve paths at routing time for flexibility while middleware layers evaluate paths early for performance. The gap between these two evaluations is a structural tension in Node.js web frameworks, not merely an implementation oversight. Whether Fastify should normalize this invariant at the router level, guaranteeing that path-scoped middleware receives the same resolved input that routing decisions are made against, is the architectural question this CVE exposes.
For immediate action: verify your middie version is 9.3.4 or later. If you are on an older version and cannot upgrade immediately, examine whether any absolute-form request targets could reach your application — this includes traffic from reverse proxies that may forward the full original URI. Additionally, audit your access logging to determine whether raw request targets are being captured; if not, consider adding this to support incident investigation. The low EPSS score reflects the prerequisite knowledge required to exploit this, not ease of detection or remediation.