Official Clerk JavaScript SDKs: Middleware-based route protection bypass
Summary
| CVE | CVE-2026-41248 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-24 21:16:18 UTC |
| Updated | 2026-04-24 21:16:18 UTC |
| 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 |
Risk And Classification
Primary CVSS: v3.1 9.1 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Problem Types: CWE-436 | CWE-863 | CWE-436 CWE-436: Interpretation Conflict | CWE-863 CWE-863: Incorrect Authorization
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| 3.1 | CNA | DECLARED | 9.1 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Clerk | Astro | affected >= 0.0.1, < 1.5.7 | Not specified |
| CNA | Clerk | Astro | affected >= 2.0.0-snapshot.v20241206174604, <= 2.17.9 | Not specified |
| CNA | Clerk | Astro | affected >= 3.0.0, < 3.0.15 | Not specified |
| CNA | Clerk | Nextjs | affected >= 5.0.0, < 5.7.6 | Not specified |
| CNA | Clerk | Nextjs | affected >= 6.0.0-snapshot.vb87a27f, < 6.39.2 | Not specified |
| CNA | Clerk | Nextjs | affected >= 7.0.0, < 7.2.1 | Not specified |
| CNA | Clerk | Nuxt | affected >= 1.1.0, < 1.13.28 | Not specified |
| CNA | Clerk | Nuxt | affected >= 2.0.0, < 2.2.2 | Not specified |
| CNA | Clerk | Shared | affected >= 2.20.17, < 2.22.1 | Not specified |
| CNA | Clerk | Shared | affected >= 3.0.0-canary.v20250225091530, < 3.47.4 | Not specified |
| CNA | Clerk | Shared | affected >= 4.0.0, < 4.8.1 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/clerk/javascript/security/advisories/GHSA-vqx2-fgx2-5wq9 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.