CVE-2026-41248

Official Clerk JavaScript SDKs: Middleware-based route protection bypass

Published Apr 24, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
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

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vqx2-fgx2-5wq9 Official Clerk JavaScript SDKs: Middleware-based route protection bypass
History
Type Values Removed Values Added
First Time appeared Clerk
Clerk astro
Clerk nextjs
Clerk nuxt
Clerk shared
Vendors & Products Clerk
Clerk astro
Clerk nextjs
Clerk nuxt
Clerk shared
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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
Title Official Clerk JavaScript SDKs: Middleware-based route protection bypass
Weaknesses CWE-436
CWE-863
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 27, 2026, 1:46 PM
Reserved
Apr 18, 2026, 3:47 AM
Status
Deferred
Published
Apr 24, 2026, 9:16 PM
Modified
Oct 26, 2026, 9:10 PM