CVE-2026-41248: Vulnerability in @clerk/nextjs

Critical. 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...

npm, CWE-436, CWE-863

Exploitation
None confirmed
Severity
9.1 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-vqx2-fgx2-5wq9
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness
CWE-436, CWE-863
Published
16 Apr 2026
Last change
26 Oct 2026
Ecosystem
npm

Affected packages

Vulnerable version ranges and fixed releases

  • @clerk/nextjs npm, Affected from 5.0.0 before 5.7.6. Fixed in 5.7.6
  • @clerk/nuxt npm, Affected from 1.1.0 before 1.13.28. Fixed in 1.13.28
  • @clerk/astro npm, Affected from 0.0.1 before 1.5.7. Fixed in 1.5.7
  • @clerk/shared npm, Affected from 2.20.17 before 2.22.1. Fixed in 2.22.1

Advisories

Vendor and security advisories