{"id":"CVE-2026-133120","aliases":["CVE-2026-133120"],"related":[],"kind":"vulnerability","state":"published","title":"@fastify/express vulnerable to path-scoped middleware bypass via request URL decoding and normalization mismatches","summary":"@fastify/express is a compatibility layer that lets Express middleware run inside the Fastify web framework. In versions before 4.0.10, the plugin passes Express a request URL that does not always match the path Fastify's router dispatched, so path-scoped Express middleware can be skipped while the route handler still runs. Several request forms trigger the mismatch, including percent-decoding that rewrites a backslash to a slash or double-decodes an encoded percent sign, and a request target that begins with an asterisk, so the middleware and the handler disagree on the path or on parameter and query values. An unauthenticated client can therefore reach a handler that an authentication, authorization, or rate-limiting middleware was meant to protect, with no special configuration required. The issue is fixed in @fastify/express 4.0.10, and users should upgrade to 4.0.10 or later.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"@fastify/express is a compatibility layer that lets Express middleware run inside the Fastify web framework. In versions before 4.0.10, the plugin passes Express a request URL that does not always match the path Fastify's router dispatched, so path-scoped Express middleware can be skipped while the route handler still runs. Several request forms trigger the mismatch, including percent-decoding that rewrites a backslash to a slash or double-decodes an encoded percent sign, and a request target that begins with an asterisk, so the middleware and the handler disagree on the path or on parameter and query values. An unauthenticated client can therefore reach a handler that an authentication, authorization, or rate-limiting middleware was meant to protect, with no special configuration required. The issue is fixed in @fastify/express 4.0.10, and users should upgrade to 4.0.10 or later.","source":"cvelist"}],"published":"2026-11-21T17:08:07.453Z","modified":"2026-11-23T21:16:56.770Z","severity":{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"openjs","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"}],"cwes":["CWE-174","CWE-436"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"4.0.10","status":"affected"},{"type":"semver","version":"4.0.10","status":"unaffected"}],"vendor":"@fastify/express","product":"@fastify/express","source":"cvelist"}],"references":[{"url":"https://github.com/fastify/fastify-express/security/advisories/GHSA-w877-hjcp-88rc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[],"sources":["cvelist","nvd"]}],"credits":["mcollina","UlisesGascon"],"assigner":"openjs","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-11-23T20:15:25.467Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-133120","url":"https://www.cve.org/CVERecord?id=CVE-2026-133120","licence":"CVE Terms of Use","modified":"2026-11-23T20:15:33.843Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-133120","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133120","licence":"Public domain","modified":"2026-11-23T21:16:56.770Z"}],"updatedAt":"2026-11-25T22:59:52.523Z","epss":{"score":0.00678,"percentile":0.53582,"date":"2026-12-01T12:00:22.000Z"}}