CVE-2026-41248 PUBLISHED

Official Clerk JavaScript SDKs: Middleware-based route protection bypass

Assigner: GitHub_M
Reserved: 18.04.2026 Published: 24.04.2026 Updated: 24.04.2026

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

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS Score: 9.1

Product Status

Vendor clerk
Product astro
Versions
  • Version >= 0.0.1, < 1.5.7 is affected
  • Version >= 2.0.0-snapshot.v20241206174604, <= 2.17.9 is affected
  • Version >= 3.0.0, < 3.0.15 is affected
Vendor clerk
Product nextjs
Versions
  • Version >= 5.0.0, < 5.7.6 is affected
  • Version >= 6.0.0-snapshot.vb87a27f, < 6.39.2 is affected
  • Version >= 7.0.0, < 7.2.1 is affected
Vendor clerk
Product nuxt
Versions
  • Version >= 1.1.0, < 1.13.28 is affected
  • Version >= 2.0.0, < 2.2.2 is affected
Vendor clerk
Product shared
Versions
  • Version >= 2.20.17, < 2.22.1 is affected
  • Version >= 3.0.0-canary.v20250225091530, < 3.47.4 is affected
  • Version >= 4.0.0, < 4.8.1 is affected

References

Problem Types

  • CWE-436: Interpretation Conflict CWE
  • CWE-863: Incorrect Authorization CWE