Vulnerability library
Security checkApril 27, 2026

Official Clerk JavaScript SDKs: Middleware-based route protection bypass

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpm@clerk/nuxt

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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

Could your website be exposed too?

SmartScanner can check your website for Official Clerk JavaScript SDKs: Middleware-based route protection bypass and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated April 27, 2026