Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @clerk/nextjs
  4. ›
  5. CVE-2026-41248

CVE-2026-41248: Official Clerk JavaScript SDKs: Middleware-based route protection bypass

April 16, 2026 (updated April 27, 2026)

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.

Sessions are not compromised and no existing user can be impersonated - the bypass only affects the middleware-level gating decision.

References

  • github.com/advisories/GHSA-vqx2-fgx2-5wq9
  • github.com/clerk/javascript
  • github.com/clerk/javascript/security/advisories/GHSA-vqx2-fgx2-5wq9
  • nvd.nist.gov/vuln/detail/CVE-2026-41248

Code Behaviors & Features

Detect and mitigate CVE-2026-41248 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.0.0 before 5.7.6, all versions starting from 6.0.0-snapshot.vb87a27f before 6.39.2, all versions starting from 7.0.0 before 7.2.1

Fixed versions

  • 5.7.6
  • 6.39.2
  • 7.2.1

Solution

Upgrade to versions 5.7.6, 6.39.2, 7.2.1 or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

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

Source file

npm/@clerk/nextjs/CVE-2026-41248.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:13 +0000.