{"id":"CVE-2026-135280","aliases":[],"cve":{"records":[{"id":"CVE-2026-135280","source":"openjs","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-11-23T16:24:32.333Z","published":"2026-11-26T17:00:55.246Z","modified":"2026-11-26T17:00:55.246Z"}],"publishers":[{"name":"openjs","role":"CNA","organizationId":"ce714d77-add3-4f53-aff5-83d477b104bb","modified":"2026-11-26T17:00:55.246Z"}],"references":[{"url":"https://github.com/fastify/fastify-express/security/advisories/GHSA-f446-h93m-fvr5","tags":[],"source":"openjs"},{"url":"https://cna.openjsf.org/security-advisories.html","tags":[],"source":"openjs"}],"weaknesses":[{"id":"CWE-178","description":"CWE-178: Improper Handling of Case Sensitivity","source":"openjs"},{"id":"CWE-863","description":"CWE-863: Incorrect Authorization","source":"openjs"}],"applicability":[],"prioritization":[]},"title":"@fastify/express vulnerable to middleware bypass with case-insensitive routing via Unicode mount paths and case-sensitive matchers","titleSource":"openjs","descriptionSource":"openjs","description":"@fastify/express is the plugin that lets an application run Express middleware and Express applications inside the Fastify web framework. In versions before 4.0.14, when an application enables case-insensitive routing, middleware mounted on a path can still be skipped in two cases: a string mount path or plugin prefix containing a Unicode character whose case folding differs from a plain lowercase conversion fails to match the lowercased request path, and a matcher that stays case-sensitive inside an Express Router or application, such as a regular expression without the ignore-case flag or an explicitly case-sensitive router, only matches its own casing. In both cases a request reaches the Fastify route handler while the path-scoped middleware does not run. An attacker can use this to bypass authentication or other middleware-based access controls on the affected routes, and only applications that enable case-insensitive routing are affected. The issue is fixed in @fastify/express 4.0.14, and users should upgrade to 4.0.14 or later. As a workaround, enforce authentication in a Fastify hook such as preHandler that runs after routing, avoid such Unicode characters in mount paths, and match case-insensitively inside Express routers and applications.","score":7.4,"severity":"high","published":"2026-11-26T17:00:55.246Z","modified":"2026-11-26T17:00:55.246Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"@fastify/express","name":"@fastify/express","platforms":[],"versions":[{"version":"0","status":"affected","lessThan":"4.0.14","versionType":"semver"},{"version":"4.0.14","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-135280"}],"remediation":[],"references":["https://github.com/fastify/fastify-express/security/advisories/GHSA-f446-h93m-fvr5","https://cna.openjsf.org/security-advisories.html"],"sources":[{"name":"CVE","id":"CVE-2026-135280","modified":"2026-11-26T17:00:55.246Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-135280"}],"assessments":[{"source":"openjs","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4}],"sourceAffected":[],"observedAt":"2026-11-26T17:05:45.987Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T20:05:31.104Z"},"coverage":[{"source":"NVD","status":"no-result","checkedAt":"2026-11-26T17:10:30.435Z","attemptedAt":"2026-11-26T17:10:30.435Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-26T17:10:31.730Z","attemptedAt":"2026-11-26T17:10:31.730Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-26T17:10:31.730Z","attemptedAt":"2026-11-26T17:10:31.730Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-26T17:10:31.730Z","attemptedAt":"2026-11-26T17:10:31.730Z"}],"evidence":[],"aiSummary":{"text":"@fastify/express versions before 4.0.14 are vulnerable to middleware bypass with case-insensitive routing. An attacker can exploit this to bypass authentication or access controls on affected routes. The issue occurs when Unicode characters in mount paths or case-sensitive matchers are used.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-26T17:06:05.139Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-135280"}]}}