Official Clerk JavaScript SDKs: Middleware-based route protection bypass
- Severity:
- High
Description
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.
Sessions are not compromised and no existing user can be impersonated - the bypass only affects the middleware-level gating decision.
Recommendation
Update the @clerk/nuxt package to the latest compatible version. Followings are version details:
Affected version(s): **>= 2.0.0, < 2.2.2 >= 1.1.0, < 1.13.28** Patched version(s): **2.2.2 1.13.28**
References
Related Issues
- Official Clerk JavaScript SDKs: Middleware-based route protection bypass - @clerk/shared - CVE-2026-41248
- Official Clerk JavaScript SDKs: Middleware-based route protection bypass - @clerk/nextjs - CVE-2026-41248
- Official Clerk JavaScript SDKs: Middleware-based route protection bypass - @clerk/astro - CVE-2026-41248
- Clerk has an authorization bypass when combining organization, billing, or reverification checks - @clerk/nuxt - CVE-2026-42349
You might also like:
- Tags:
- npm
- @clerk/nuxt
Anything's wrong? Let us know Last updated on April 27, 2026


