{"affected":[{"defaultStatus":"unaffected","ecosystem":"npm","packageName":"@fastify/express","product":"@fastify/express","source":"CNA: openjs","vendor":"@fastify/express","versions":[{"lessThan":"4.0.10","status":"affected","version":"4.0.7","versionType":"semver"},{"status":"unaffected","version":"4.0.10","versionType":"semver"}]},{"ecosystem":"npm","packageName":"@fastify/express","product":"@fastify/express","source":"GitHub GHSA-84w6-xrf3-f8q8","vendor":"","versions":[{"status":"affected","version":">= 4.0.7, < 4.0.10","versionType":"GitHub advisory range"}]}],"cveId":"CVE-2026-133867","cwes":["CWE-287","CWE-436"],"description":"@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.","epss":{"date":"2026-11-23","percentile":0.52227,"score":0.00653},"exploits":[],"kev":null,"metrics":[{"score":9.1,"severity":"critical","source":"CNA: openjs","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},{"score":9.1,"severity":"critical","source":"NVD: ce714d77-add3-4f53-aff5-83d477b104bb","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}],"modifiedAt":1795465143325,"publishedAt":1795280369587,"references":[{"source":"CNA: openjs","tags":[],"url":"https://github.com/fastify/fastify-express/security/advisories/GHSA-84w6-xrf3-f8q8"},{"source":"CNA: openjs","tags":[],"url":"https://cna.openjsf.org/security-advisories.html"},{"source":"ce714d77-add3-4f53-aff5-83d477b104bb","tags":[],"url":"https://cna.openjsf.org/security-advisories.html"},{"source":"ce714d77-add3-4f53-aff5-83d477b104bb","tags":[],"url":"https://github.com/fastify/fastify-express/security/advisories/GHSA-84w6-xrf3-f8q8"},{"source":"GitHub Security Advisories","tags":["advisory"],"url":"https://github.com/fastify/fastify-express/security/advisories/GHSA-84w6-xrf3-f8q8"}],"remediation":[{"kind":"fix","source":"GitHub GHSA-84w6-xrf3-f8q8","text":"@fastify/express (npm): GitHub reports patched versions 4.0.10. Check the advisory for the affected release branch.","url":"https://github.com/fastify/fastify-express/security/advisories/GHSA-84w6-xrf3-f8q8"}],"revision":"ec09782704dfd9a85c3c777479370d314b2de04ba254ab3c339c73637156acb4","sources":[{"modifiedAt":1795465143325,"name":"CNA: openjs","retrievedAt":1795468151195,"url":"https://www.cve.org/CVERecord?id=CVE-2026-133867"},{"modifiedAt":1795281400663,"name":"NVD","retrievedAt":1795284955675,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133867"},{"modifiedAt":1795197616000,"name":"GitHub Security Advisories","retrievedAt":1795398909493,"url":"https://github.com/fastify/fastify-express/security/advisories/GHSA-84w6-xrf3-f8q8"},{"modifiedAt":null,"name":"FIRST EPSS","retrievedAt":1795468155159,"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-133867"}],"ssvc":{"assessedAt":1795465127017,"automatable":"yes","exploitation":"none","source":"ADP: CISA-ADP","technicalImpact":"total"},"status":"published","title":"@fastify/express vulnerable to middleware bypass via RegExp mount paths under parameterized prefixes","updatedAt":1795468155159}