{"vuln_id":"CVE-2026-133867","aliases":["GHSA-84w6-xrf3-f8q8"],"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.","published_at":"2026-11-21T17:16:40.663000Z","modified_at":"2026-11-21T17:16:40.663000Z","first_seen_at":"2026-11-21T19:15:21.307014Z","severity":"critical","severity_source":"nvd","cvss_score":9.1,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","cwe":["CWE-287","CWE-436"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":"Received","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-133867"},"matched_alias":null,"items":[{"id":2747,"source":{"id":"vuldb","name":"VulDB recent entries"},"title":"CVE-2026-133867 | OpenJS Foundation express up to 4.0.9 Route Mounting improper authorization","summary":"A vulnerability was found in OpenJS Foundation express up to 4.0.9. It has been rated as critical. Affected by this issue is some unknown functionality of the component Route Mounting. The manipulation leads to improper authorization.\n\nThis vulnerability is traded as CVE-2026-133867. It is possible to initiate the attack remotely. There is no exploit available.\n\nUpgrading the affected component is advised.","url":"https://vuldb.com/vuln/441960","published_at":"2026-11-21T17:25:42Z","updated_at":"2026-11-21T17:25:42Z","fetched_at":"2026-11-21T19:15:21.123069Z","severity":"critical","cvss_score":9.1,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"OpenJS Foundation","product":"express","vuln_id":"CVE-2026-133867","vuln_ids":["CVE-2026-133867","GHSA-84W6-XRF3-F8Q8"],"tags":["Vendor: OpenJS Foundation","Product: express","Risk: critical","Physical: No","Local: No","Remote: Yes","Exploit: No","Countermeasures: Upgrade"],"cluster_id":2830,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2747","html":"https://vulnwatch.ve1ve2.com/item/2747"}},{"id":10254,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-133867: @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 n…","summary":"@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.\n\nReferences:\nhttps://cna.openjsf.org/security-advisories.html\nhttps://github.com/fastify/fastify-express/security/advisories/GHSA-84w6-xrf3-f8q8","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-133867","published_at":"2026-11-21T17:16:40.663000Z","updated_at":"2026-11-21T17:16:40.663000Z","fetched_at":"2026-11-21T19:15:31.485736Z","severity":"critical","cvss_score":9.1,"epss":null,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-133867","vuln_ids":["CVE-2026-133867","GHSA-84W6-XRF3-F8Q8"],"tags":["CWE-287","CWE-436"],"cluster_id":2830,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/10254","html":"https://vulnwatch.ve1ve2.com/item/10254"}}]}