{"id":"CVE-2026-85184","aliases":["CVE-2026-85184"],"related":[],"kind":"vulnerability","state":"published","title":"@fastify/middie vulnerable to path-scoped middleware bypass via absolute-form request target","summary":"@fastify/middie versions >= 9.1.0 and before 9.3.4 decide whether to run path-scoped middleware by matching against the raw request target, while the Fastify router resolves an absolute-form request target to its path before dispatching. Because the two layers evaluate different strings, a request using an absolute-form target reaches the route handler while the path-scoped middleware, such as authentication or authorization, is skipped. An unauthenticated network attacker can use this to bypass path-based access controls in a Fastify application that relies on middie for those controls. Users should upgrade to @fastify/middie 9.3.4 or later.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"@fastify/middie versions >= 9.1.0 and before 9.3.4 decide whether to run path-scoped middleware by matching against the raw request target, while the Fastify router resolves an absolute-form request target to its path before dispatching. Because the two layers evaluate different strings, a request using an absolute-form target reaches the route handler while the path-scoped middleware, such as authentication or authorization, is skipped. An unauthenticated network attacker can use this to bypass path-based access controls in a Fastify application that relies on middie for those controls. Users should upgrade to @fastify/middie 9.3.4 or later.","source":"cvelist"}],"published":"2026-09-04T09:15:51.216Z","modified":"2026-09-15T20:02:28.677Z","severity":{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-436"],"affected":[{"ranges":[{"type":"semver","introduced":"9.1.0","fixed":"9.3.4","status":"affected"},{"type":"semver","version":"9.3.4","status":"unaffected"}],"vendor":"@fastify/middie","product":"@fastify/middie","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"9.1.0","fixed":"9.3.4"}],"vendor":"fastify","product":"fastify/middie","cpe":"cpe:2.3:a:fastify:fastify\\/middie:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/fastify/middie/security/advisories/GHSA-hx87-8wv7-pjv8","tags":["mitigation","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["zer0d4y5","mcollina","UlisesGascon"],"assigner":"openjs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-09-04T19:36:12.098Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-85184","url":"https://www.cve.org/CVERecord?id=CVE-2026-85184","licence":"CVE Terms of Use","modified":"2026-09-04T19:36:20.968Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-85184","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85184","licence":"Public domain","modified":"2026-09-15T20:02:28.677Z"}],"updatedAt":"2026-11-25T22:59:36.270Z","epss":{"score":0.00316,"percentile":0.26452,"date":"2026-12-01T12:00:22.000Z"}}