{"id":"CVE-2026-85184","summary":"@fastify/middie vulnerable to path-scoped middleware bypass via absolute-form request target","details":"@fastify/middie versions \u003e= 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.","aliases":["GHSA-hx87-8wv7-pjv8"],"modified":"2026-09-10T03:30:56.486609634Z","published":"2026-09-04T09:15:51.216Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85184.json","cna_assigner":"openjs","cwe_ids":["CWE-436"]},"references":[{"type":"ADVISORY","url":"https://cna.openjsf.org/security-advisories.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85184.json"},{"type":"ADVISORY","url":"https://github.com/fastify/middie/security/advisories/GHSA-hx87-8wv7-pjv8"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85184"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/fastify/middie","events":[{"introduced":"8de54e35035cefa5ca13fd9f06c7b38185038a0e"},{"fixed":"310c7ef480bf1db2508316db7a42fdf274e6802e"}],"database_specific":{"extracted_events":[{"introduced":"9.1.0"},{"fixed":"9.3.4"},{"introduced":"0"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["v9.3.3","v9.3.2","v9.3.1","v9.3.0","v9.2.0","v9.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85184.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}