Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @clerk/astro
  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 0.0.1 before 1.5.7, all versions starting from 2.0.0-snapshot.v20241206174604 before 2.17.10, all versions starting from 3.0.0 before 3.0.15

Fixed versions

  • 1.5.7
  • 2.17.10
  • 3.0.15

Solution

Upgrade to versions 1.5.7, 2.17.10, 3.0.15 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/astro/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:42 +0000.