{"id":"CVE-2026-41248","published":"2026-04-24T21:04:35Z","modified":"2026-04-27T13:46:28Z","title":"Official Clerk JavaScript SDKs: Middleware-based route protection bypass","vendor":"clerk","product":"astro","tier":"tail","description":{"text":"Clerk JavaScript is the official JavaScript repository for Clerk authentication. createRouteMatcher in @clerk/nextjs, @clerk/nuxt, and @clerk/astro can be bypassed by certain crafted requests, allowing them to skip middleware gating and reach downstream handlers. This vulnerability is fixed in @clerk/astro 1.5.7, 2.17.10, and 3.0.15; @clerk/nextjs 5.7.6, 6.39.2, and 7.2.1; @clerk/nuxt 1.13.28 and 2.2.2; and @clerk/shared 2.22.1, 3.47.4, anc 4.8.1","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00329,"percentile":0.26487,"provenance":"source"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"},{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/clerk/javascript/security/advisories/GHSA-vqx2-fgx2-5wq9","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.7,"factors":[{"name":"EPSS percentile","points":5.3},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"clerk","affectedVersions":[{"vendor":"clerk","product":"astro","versions":[">= 0.0.1, < 1.5.7",">= 2.0.0-snapshot.v20241206174604, <= 2.17.9",">= 3.0.0, < 3.0.15"]},{"vendor":"clerk","product":"nextjs","versions":[">= 5.0.0, < 5.7.6",">= 6.0.0-snapshot.vb87a27f, < 6.39.2",">= 7.0.0, < 7.2.1"]},{"vendor":"clerk","product":"nuxt","versions":[">= 1.1.0, < 1.13.28",">= 2.0.0, < 2.2.2"]},{"vendor":"clerk","product":"shared","versions":[">= 2.20.17, < 2.22.1",">= 3.0.0-canary.v20250225091530, < 3.47.4",">= 4.0.0, < 4.8.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-27T13:46:14.373183Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@clerk/nextjs","vulnerableRanges":[">=5.0.0, <5.7.6",">=6.0.0-snapshot.vb87a27f, <6.39.2",">=7.0.0, <7.2.1"],"patched":["5.7.6","6.39.2","7.2.1"],"from":["GHSA-vqx2-fgx2-5wq9"],"provenance":"source"},{"ecosystem":"npm","package":"@clerk/nuxt","vulnerableRanges":[">=1.1.0, <1.13.28",">=2.0.0, <2.2.2"],"patched":["1.13.28","2.2.2"],"from":["GHSA-vqx2-fgx2-5wq9"],"provenance":"source"},{"ecosystem":"npm","package":"@clerk/astro","vulnerableRanges":[">=0.0.1, <1.5.7",">=2.0.0-snapshot.v20241206174604, <2.17.10",">=3.0.0, <3.0.15"],"patched":["1.5.7","2.17.10","3.0.15"],"from":["GHSA-vqx2-fgx2-5wq9"],"provenance":"source"},{"ecosystem":"npm","package":"@clerk/shared","vulnerableRanges":[">=2.20.17, <2.22.1",">=3.0.0-canary.v20250225091530, <3.47.4",">=4.0.0, <4.8.1"],"patched":["2.22.1","3.47.4","4.8.1"],"from":["GHSA-vqx2-fgx2-5wq9"],"provenance":"source"}],"summary":{"text":"The createRouteMatcher function in the Clerk JavaScript SDKs (@clerk/nextjs, @clerk/nuxt, and @clerk/astro) contains a flaw that lets certain crafted requests bypass middleware-based route protection. An unauthenticated remote attacker can exploit this over the network with low complexity and no user interaction, reaching downstream handlers without passing the middleware gate.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:27Z"},"euvd":{"id":"EUVD-2026-25632","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-clerk-astro-cve-2026-41248","packageHistory":[{"cve":"CVE-2024-22206","published":"2024-01-12","fixed":"4.29.3","kev":false},{"cve":"CVE-2025-53548","published":"2025-07-09","fixed":"6.23.3","kev":false,"link":{"from":"CVE-2025-53548","to":"CVE-2026-41248","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@clerk/nextjs","fromFixed":"6.23.3","toFixed":"6.39.2","daysApart":289},{"kind":"version-step","provenance":"source","package":"npm:@clerk/nuxt","fromFixed":"1.7.5","toFixed":"1.13.28","daysApart":289}]}},{"cve":"CVE-2026-41248","published":"2026-04-24","fixed":"7.2.1","kev":false},{"cve":"CVE-2026-42349","published":"2026-05-11","fixed":"7.2.4","kev":false,"link":{"from":"CVE-2026-41248","to":"CVE-2026-42349","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@clerk/nextjs","fromFixed":"6.39.2","toFixed":"6.39.3","daysApart":17},{"kind":"version-step","provenance":"source","package":"npm:@clerk/nextjs","fromFixed":"7.2.1","toFixed":"7.2.4","daysApart":17},{"kind":"similar","provenance":"machine","score":0.49,"basis":"same package + description similarity"}]}}],"package":"npm:@clerk/nextjs"}}