{"id":"CVE-2026-2880","published":"2026-02-27T18:25:37Z","modified":"2026-02-27T18:56:02Z","title":"@fastify/middie has an improper path normalization vulnerability","vendor":"@fastify/middie","product":"@fastify/middie","tier":"tail","description":{"text":"A vulnerability in @fastify/middie versions < 9.2.0 can result in authentication/authorization bypass when using path-scoped middleware (for example, app.use('/secret', auth)).\n\nWhen Fastify router normalization options are enabled (such as ignoreDuplicateSlashes, useSemicolonDelimiter, and related trailing-slash behavior), crafted request paths may bypass middleware checks while still being routed to protected handlers.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00423,"percentile":0.37418,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/fastify/middie/security/advisories/GHSA-8p85-9qpw-fwgw","tags":[]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":7.48},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"fastify-middie","affectedVersions":[{"vendor":"@fastify/middie","product":"@fastify/middie","versions":[">= 0.0.0, < 9.2.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-27T18:55:36.300396Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@fastify/middie","vulnerableRanges":["<9.2.0"],"patched":["9.2.0"],"from":["GHSA-8p85-9qpw-fwgw"],"provenance":"source"}],"summary":{"text":"The flaw is in the @fastify/middie package, which handles middleware for the Fastify framework; versions before 9.2.0 are affected. When path-scoped middleware such as an authentication check registered on a specific route prefix is used alongside Fastify's router normalization options, crafted request paths can skip the middleware while still reaching the protected handler, and an attacker who can send network requests to the application can exploit this without credentials or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:24Z"},"euvd":{"id":"EUVD-2026-9049","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-honojs-hono-cve-2021-22964","parents":[{"from":"CVE-2026-22031","to":"CVE-2026-2880","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@fastify/middie","fromFixed":"9.1.0","toFixed":"9.2.0","daysApart":39},{"kind":"same-code","provenance":"machine","files":["lib/engine.js"],"commits":["https://github.com/fastify/middie/commit/d44cd56eb724490babf7b452fdbbdd37ea2effba","https://github.com/fastify/middie/commit/140e0dd0359d890fec7e6ea1dcc5134d6bd554d4"],"basis":"shared function","functions":["middie"]}]}],"packageHistory":[{"cve":"CVE-2026-22031","published":"2026-01-19","fixed":"9.1.0","kev":false},{"cve":"CVE-2026-2880","published":"2026-02-27","fixed":"9.2.0","kev":false},{"cve":"CVE-2026-33804","published":"2026-04-16","fixed":"9.3.2","kev":false,"link":{"from":"CVE-2026-2880","to":"CVE-2026-33804","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@fastify/middie","fromFixed":"9.2.0","toFixed":"9.3.2","daysApart":48}]}},{"cve":"CVE-2026-6270","published":"2026-04-16","fixed":"9.3.2","kev":false,"link":{"from":"CVE-2026-2880","to":"CVE-2026-6270","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@fastify/middie","fromFixed":"9.2.0","toFixed":"9.3.2","daysApart":48}]}}],"package":"npm:@fastify/middie"}}