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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.1
- **CVSS:** 9.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.55% (percentile 40, 2026-11-26)
- **CWE:** CWE-436, CWE-863
- **Aliases:** GHSA-vqx2-fgx2-5wq9
- **Published:** 2026-04-16T21:28:26.000Z
- **Modified:** 2026-10-26T21:10:00.170Z

## Who should check

- Projects that depend on npm package @clerk/nextjs (\>= 5.0.0, \< 5.7.6)
- Projects that depend on npm package @clerk/nuxt (\>= 1.1.0, \< 1.13.28)
- Projects that depend on npm package @clerk/astro (\>= 0.0.1, \< 1.5.7)
- Projects that depend on npm package @clerk/shared (\>= 2.20.17, \< 2.22.1)
- Anyone running clerk astro \>= 0.0.1, \< 1.5.7; \>= 2.0.0-snapshot.v20241206174604, \<= 2.17.9; \>= 3.0.0, \< 3.0.15
- Anyone running clerk nextjs \>= 5.0.0, \< 5.7.6; \>= 6.0.0-snapshot.vb87a27f, \< 6.39.2; \>= 7.0.0, \< 7.2.1
- Anyone running clerk nuxt \>= 1.1.0, \< 1.13.28; \>= 2.0.0, \< 2.2.2
- Anyone running clerk shared \>= 2.20.17, \< 2.22.1; \>= 3.0.0-canary.v20250225091530, \< 3.47.4; \>= 4.0.0, \< 4.8.1

## 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

## Affected and fixed versions

- npm `@clerk/nextjs`: affected \>= 5.0.0, \< 5.7.6; fixed 5.7.6, 6.39.2, 7.2.1 (osv)
- npm `@clerk/nuxt`: affected \>= 1.1.0, \< 1.13.28; fixed 1.13.28, 2.2.2 (osv)
- npm `@clerk/astro`: affected \>= 0.0.1, \< 1.5.7; fixed 1.5.7, 2.17.10, 3.0.15 (osv)
- npm `@clerk/shared`: affected \>= 2.20.17, \< 2.22.1; fixed 2.22.1, 3.47.4, 4.8.1 (osv)
- clerk astro: \>= 0.0.1, \< 1.5.7; \>= 2.0.0-snapshot.v20241206174604, \<= 2.17.9; \>= 3.0.0, \< 3.0.15 (cvelist)
- clerk nextjs: \>= 5.0.0, \< 5.7.6; \>= 6.0.0-snapshot.vb87a27f, \< 6.39.2; \>= 7.0.0, \< 7.2.1 (cvelist)
- clerk nuxt: \>= 1.1.0, \< 1.13.28; \>= 2.0.0, \< 2.2.2 (cvelist)
- clerk shared: \>= 2.20.17, \< 2.22.1; \>= 3.0.0-canary.v20250225091530, \< 3.47.4; \>= 4.0.0, \< 4.8.1 (cvelist)

## Mitigation

- Upgrade @clerk/nextjs to one of 5.7.6, 6.39.2, 7.2.1 (or later in the same release line).
- Upgrade @clerk/nuxt to one of 1.13.28, 2.2.2 (or later in the same release line).
- Upgrade @clerk/astro to one of 1.5.7, 2.17.10, 3.0.15 (or later in the same release line).
- Upgrade @clerk/shared to one of 2.22.1, 3.47.4, 4.8.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-41248. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-41248.md
Affected: @clerk/nextjs >= 5.0.0, < 5.7.6; @clerk/nuxt >= 1.1.0, < 1.13.28; @clerk/astro >= 0.0.1, < 1.5.7; @clerk/shared >= 2.20.17, < 2.22.1
Fixed in: 5.7.6, 6.39.2, 7.2.1, 1.13.28, 2.2.2, 1.5.7, 2.17.10, 3.0.15, 2.22.1, 3.47.4, 4.8.1

Steps:
1. Search this machine and project for @clerk/nextjs (npm), @clerk/nuxt (npm), @clerk/astro (npm), @clerk/shared (npm), clerk astro, clerk nextjs: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-41248 being exploited?

There is no confirmed exploitation: CVE-2026-41248 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.55% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-41248?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-41248?

@clerk/nextjs \>= 5.0.0, \< 5.7.6; @clerk/nuxt \>= 1.1.0, \< 1.13.28; @clerk/astro \>= 0.0.1, \< 1.5.7; @clerk/shared \>= 2.20.17, \< 2.22.1.

### Is there a fix for CVE-2026-41248?

Yes. Fixed in 5.7.6, 6.39.2, 7.2.1, 1.13.28, 2.2.2, 1.5.7, 2.17.10, 3.0.15, 2.22.1, 3.47.4, 4.8.1. Upgrade @clerk/nextjs to one of 5.7.6, 6.39.2, 7.2.1 (or later in the same release line). Upgrade @clerk/nuxt to one of 1.13.28, 2.2.2 (or later in the same release line). Upgrade @clerk/astro to one of 1.5.7, 2.17.10, 3.0.15 (or later in the same release line). Upgrade @clerk/shared to one of 2.22.1, 3.47.4, 4.8.1 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-41248?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/clerk/javascript/security/advisories/GHSA-vqx2-fgx2-5wq9>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-41248>
- other: <https://github.com/clerk/javascript>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-41248>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-vqx2-fgx2-5wq9> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-41248> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-41248>
