Skip to content

CVE-2026-41248 Official Clerk JavaScript SDKs: Middleware-based route protection bypass

CriticalCVSS 9.1 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known

Description

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

Affected products

ProductAffected versionsFixed in
clerk astro = >= 0.0.1, < 1.5.7 No fix listed
clerk astro = >= 2.0.0-snapshot.v20241206174604, <= 2.17.9 No fix listed
clerk astro = >= 3.0.0, < 3.0.15 No fix listed
clerk nextjs = >= 5.0.0, < 5.7.6 No fix listed
clerk nextjs = >= 6.0.0-snapshot.vb87a27f, < 6.39.2 No fix listed
clerk nextjs = >= 7.0.0, < 7.2.1 No fix listed
clerk nuxt = >= 1.1.0, < 1.13.28 No fix listed
clerk nuxt = >= 2.0.0, < 2.2.2 No fix listed
clerk shared = >= 2.20.17, < 2.22.1 No fix listed
clerk shared = >= 3.0.0-canary.v20250225091530, < 3.47.4 No fix listed
clerk shared = >= 4.0.0, < 4.8.1 No fix listed
clerk nextjs(npm) >= 5.0.0, < 5.7.6 5.7.6
clerk nuxt(npm) >= 1.1.0, < 1.13.28 1.13.28
clerk astro(npm) >= 0.0.1, < 1.5.7 1.5.7
clerk shared(npm) >= 2.20.17, < 2.22.1 2.22.1
clerk nextjs(npm) >= 6.0.0-snapshot.vb87a27f, < 6.39.2 6.39.2
clerk nextjs(npm) >= 7.0.0, < 7.2.1 7.2.1
clerk nuxt(npm) >= 2.0.0, < 2.2.2 2.2.2
clerk astro(npm) >= 2.0.0-snapshot.v20241206174604, <= 2.17.9 No fix listed
clerk astro(npm) >= 3.0.0, < 3.0.15 3.0.15
clerk shared(npm) >= 3.0.0-canary.v20250225091530, < 3.47.4 3.47.4
clerk shared(npm) >= 4.0.0, < 4.8.1 4.8.1
clerk astro(npm) >= 2.0.0-snapshot.v20241206174604, < 2.17.10 2.17.10

References