CVE-2026-41248
published critical CVSS 3.1 · 9.1Official Clerk JavaScript SDKs: Middleware-based route protection bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| clerk | — | astro>= 0.0.1, < 1.5.7 · >= 2.0.0-snapshot.v20241206174604, <= 2.17.9 · >= 3.0.0, < 3.0.15 | Affected | Not stated | GitHub_M |
| clerk | — | nextjs>= 5.0.0, < 5.7.6 · >= 6.0.0-snapshot.vb87a27f, < 6.39.2 · >= 7.0.0, < 7.2.1 | Affected | Not stated | GitHub_M |
| clerk | — | nuxt>= 1.1.0, < 1.13.28 · >= 2.0.0, < 2.2.2 | Affected | Not stated | GitHub_M |
| clerk | — | shared>= 2.20.17, < 2.22.1 · >= 3.0.0-canary.v20250225091530, < 3.47.4 · >= 4.0.0, < 4.8.1 | Affected | Not stated | GitHub_M |
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
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.1 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| clerk | astro | >= 0.0.1, < 1.5.7 (affected)>= 2.0.0-snapshot.v20241206174604, <= 2.17.9 (affected)>= 3.0.0, < 3.0.15 (affected) | GitHub_M · cna |
| clerk | nextjs | >= 5.0.0, < 5.7.6 (affected)>= 6.0.0-snapshot.vb87a27f, < 6.39.2 (affected)>= 7.0.0, < 7.2.1 (affected) | GitHub_M · cna |
| clerk | nuxt | >= 1.1.0, < 1.13.28 (affected)>= 2.0.0, < 2.2.2 (affected) | GitHub_M · cna |
| clerk | shared | >= 2.20.17, < 2.22.1 (affected)>= 3.0.0-canary.v20250225091530, < 3.47.4 (affected)>= 4.0.0, < 4.8.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-436 CWE-436: Interpretation Conflict
- CWE-863 CWE-863: Incorrect Authorization
References
1Provider assertions
2GitHub_M · cna
Official Clerk JavaScript SDKs: Middleware-based route protection bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6dd9ac7d060a330b469e939999e631cfd58c51c69ebdc7dfd1d08efaf45189bd
- Ingested
- 23 Sep 2026, 09:13:40 UTC
- Source record
- Official CVE record