{"id":"CVE-2026-133867","aliases":["EUVD-2026-132185","GHSA-84w6-xrf3-f8q8"],"title":"@fastify/express vulnerable to middleware bypass via RegExp mount paths under parameterized prefixes","originalDescription":"@fastify/express is a compatibility layer that lets Express middleware run inside the Fastify web framework. In versions 4.0.7 through 4.0.9, the plugin does not rewrite regular-expression mount paths to account for a parameterized plugin prefix, so when middleware is mounted with a regular expression inside a plugin registered under a parameterized prefix, the Express matcher treats the prefix parameter as literal text and never matches the real request path. As a result, Express silently skips that middleware while Fastify still runs the route handler, so an application that relies on regular-expression mounted middleware for authentication or authorization inside a parameterized-prefix plugin exposes protected routes to unauthenticated clients. No special configuration is required beyond a parameterized prefix and a regular-expression mount. The issue is fixed in @fastify/express 4.0.10, and users should upgrade to 4.0.10 or later.","severity":{"cvss":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","label":"critical"},"exploitation":{"kev":null,"epss":{"score":0.0052,"percentile":0.37542},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"@fastify/express","range":">=4.0.7, <4.0.10","fixed":"4.0.10"}],"references":[{"url":"https://github.com/fastify/fastify-express/security/advisories/GHSA-84w6-xrf3-f8q8","type":"other"},{"url":"https://cna.openjsf.org/security-advisories.html","type":"other"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/133xxx/CVE-2026-133867.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133867","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-23T21:33:04.680Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133867","license":"NVD terms of use","firstSeenAt":"2026-11-21T17:43:04.636Z"},{"name":"osv","at":"2026-11-22T21:46:51.702Z","url":"https://osv.dev/vulnerability/CVE-2026-133867","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T19:22:33.094Z"},{"name":"euvd","at":"2026-11-21T18:49:05.864Z","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-132185","license":"ENISA","firstSeenAt":"2026-11-21T18:16:07.267Z"},{"name":"cvelistV5","at":"2026-11-24T12:24:13.621Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-133867","license":"CVE Terms of Use","firstSeenAt":"2026-11-21T17:07:32.055Z"}],"firstSeenAt":"2026-11-21T17:07:32.055Z","publishedAt":"2026-11-21T16:59:29.000Z","modifiedAt":"2026-11-23T21:16:57.643Z"}