{"id":"CVE-2026-33807","revision":"1b497ac42762410e839d37a17a9f9a9d","records":[{"revision":"1b497ac42762410e839d37a17a9f9a9d","observedAt":"2026-10-25T08:17:24.447+00:00","statement":{"source":"nvd","id":"CVE-2026-33807","aliases":[],"title":"@fastify/express v4.0.4 and earlier contains a path handling bug in the onRegister function that causes middleware paths to be doubled when inherited by child plugins. When a child plugin is registered with a prefix that matches a middlewar…","description":"@fastify/express v4.0.4 and earlier contains a path handling bug in the onRegister function that causes middleware paths to be doubled when inherited by child plugins. When a child plugin is registered with a prefix that matches a middleware path, the middleware path is prefixed a second time, causing it to never match incoming requests. This results in complete bypass of Express middleware security controls, including authentication, authorization, and rate limiting, for all routes defined within affected child plugin scopes. No special configuration or request crafting is required.\n\nUpgrade to @fastify/express v4.0.5 or later.","state":0,"publishedAt":"2026-04-15T10:16:48.31+00:00","modifiedAt":"2026-06-17T10:38:07.653+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · ce714d77-add3-4f53-aff5-83d477b104bb · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"severity":"CRITICAL"}],"references":["https://cna.openjsf.org/security-advisories.html","https://github.com/fastify/fastify-express/security/advisories/GHSA-hrwm-hgmj-7p9c"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-33807","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-436"],"productCriteria":["cpe:2.3:a:fastify:fastify\\/express:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-04-15T10:16:48.310","lastModified":"2026-06-17T10:38:07.653"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-33807","identifiers":["CVE-2026-33807"]},"retained":false,"historicalAffected":[]}],"coverage":[]}