{"id":"CVE-2026-133867","aliases":[],"cve":{"records":[{"id":"CVE-2026-133867","source":"openjs","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-11-20T15:57:37.394Z","published":"2026-11-21T16:59:29.587Z","modified":"2026-11-23T20:19:03.325Z"}],"publishers":[{"name":"openjs","role":"CNA","organizationId":"ce714d77-add3-4f53-aff5-83d477b104bb","modified":"2026-11-21T16:59:29.587Z"},{"name":"CISA-ADP","role":"ADP","organizationId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","modified":"2026-11-23T20:19:03.325Z"}],"references":[{"url":"https://github.com/fastify/fastify-express/security/advisories/GHSA-84w6-xrf3-f8q8","tags":[],"source":"openjs"},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[],"source":"openjs"}],"weaknesses":[{"id":"CWE-287","description":"CWE-287: Improper Authentication","source":"openjs"},{"id":"CWE-436","description":"CWE-436: Interpretation Conflict","source":"openjs"}],"applicability":[],"prioritization":[{"source":"CISA-ADP","type":"SSVC","role":"CISA Coordinator","timestamp":"2026-11-23T20:18:47.017800Z","decisions":[{"name":"Exploitation","value":"none"},{"name":"Automatable","value":"yes"},{"name":"Technical Impact","value":"total"}]}]},"title":"@fastify/express vulnerable to middleware bypass via RegExp mount paths under parameterized prefixes","titleSource":"openjs","descriptionSource":"openjs","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.","score":9.1,"severity":"critical","published":"2026-11-21T16:59:29.587Z","modified":"2026-11-23T20:19:03.325Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"@fastify/express","name":"@fastify/express","platforms":[],"versions":[{"version":"4.0.7","status":"affected","lessThan":"4.0.10","versionType":"semver"},{"version":"4.0.10","status":"unaffected","versionType":"semver"}],"defaultStatus":"unaffected","packageURL":"pkg:npm/@fastify/express","packageIdentity":{"ecosystem":"npm","name":"@fastify/express"},"cpes":[],"source":"openjs","url":"https://www.cve.org/CVERecord?id=CVE-2026-133867"}],"remediation":[],"references":["https://github.com/fastify/fastify-express/security/advisories/GHSA-84w6-xrf3-f8q8","https://cna.openjsf.org/security-advisories.html"],"sources":[{"name":"CVE","id":"CVE-2026-133867","modified":"2026-11-23T20:19:03.325Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-133867"}],"assessments":[{"source":"openjs","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1}],"sourceAffected":[],"observedAt":"2026-11-23T20:25:53.241Z","kev":{"status":"not-listed","checkedAt":"2026-11-29T20:30:32.691Z"},"coverage":[{"source":"NVD","status":"no-result","checkedAt":"2026-11-21T17:10:32.749Z","attemptedAt":"2026-11-21T17:10:32.749Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-21T17:10:34.752Z","attemptedAt":"2026-11-21T17:10:34.752Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-21T17:10:34.752Z","attemptedAt":"2026-11-21T17:10:34.752Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-21T17:10:34.761Z","attemptedAt":"2026-11-21T17:10:34.761Z"}],"evidence":[],"aiSummary":{"text":"@fastify/express versions 4.0.7 through 4.0.9 have a middleware bypass vulnerability via RegExp mount paths under parameterized prefixes, potentially exposing protected routes to unauthenticated clients. The issue occurs when middleware is mounted with a regular expression inside a plugin registered under a parameterized prefix. This may allow unauthorized access to certain routes.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-21T17:06:03.604Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-133867"}]}}