CVE-2026-41248

Critical

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

SeverityCritical
CVSS9.1
Exploit probability—
Product@clerk/nextjs
PublishedApr 24, 2026
First seenApr 24, 2026

How to fix

Update
  • @clerk/nextjs5.7.6, 6.39.2, 7.2.1 or later
  • @clerk/nuxt1.13.28, 2.2.2 or later
  • @clerk/astro1.5.7, 2.17.10, 3.0.15 or later
  • @clerk/shared2.22.1, 3.47.4, 4.8.1 or later

Affected products

ProductAffected versionsFixed in
@clerk/nextjsnpm5.0.0 ≤ v < 5.7.6, 6.0.0-snapshot.vb87a27f ≤ v < 6.39.2, 7.0.0 ≤ v < 7.2.15.7.6, 6.39.2, 7.2.1
@clerk/nuxtnpm1.1.0 ≤ v < 1.13.28, 2.0.0 ≤ v < 2.2.21.13.28, 2.2.2
@clerk/astronpm0.0.1 ≤ v < 1.5.7, 2.0.0-snapshot.v20241206174604 ≤ v < 2.17.10, 3.0.0 ≤ v < 3.0.151.5.7, 2.17.10, 3.0.15
@clerk/sharednpm2.20.17 ≤ v < 2.22.1, 3.0.0-canary.v20250225091530 ≤ v < 3.47.4, 4.0.0 ≤ v < 4.8.12.22.1, 3.47.4, 4.8.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.