{"id":"EUVD-2026-3321","revision":"6a2b4fe5f5b6446897e15be3767a2d20","records":[{"revision":"6a2b4fe5f5b6446897e15be3767a2d20","observedAt":"2026-10-30T02:51:05.645+00:00","statement":{"source":"euvd","id":"EUVD-2026-3321","aliases":["CVE-2026-22031","GHSA-cxrg-g7r8-w69p"],"title":"@fastify/middie is the plugin that adds middleware support on steroids to Fastify. A security vulnerability exists in @fastify/middie prior to version 9.1.0 where middleware registered with a specific path prefix can be bypassed using URL-e…","description":"@fastify/middie is the plugin that adds middleware support on steroids to Fastify. A security vulnerability exists in @fastify/middie prior to version 9.1.0 where middleware registered with a specific path prefix can be bypassed using URL-encoded characters (e.g., `/%61dmin` instead of `/admin`). While the middleware engine fails to match the encoded path and skips execution, the underlying Fastify router correctly decodes the path and matches the route handler, allowing attackers to access protected endpoints without the middleware constraints. Version 9.1.0 fixes the issue.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L","score":8.4,"severity":null}],"references":["https://github.com/fastify/middie/security/advisories/GHSA-cxrg-g7r8-w69p","https://github.com/fastify/middie/pull/245","https://github.com/fastify/middie/commit/d44cd56eb724490babf7b452fdbbdd37ea2effba","https://github.com/fastify/middie/releases/tag/v9.1.0"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-3321","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Jan 19, 2026, 3:24:45 PM","dateUpdated":"Jan 20, 2026, 2:45:31 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-3321","identifiers":["EUVD-2026-3321","CVE-2026-22031","GHSA-cxrg-g7r8-w69p"]},"retained":false,"historicalAffected":[]}],"coverage":[]}