CVE-2026-42349Clerk: Authorization bypass when combining organization, billing, or reverification checks
Clerk JavaScript is the official JavaScript repository for Clerk authentication. has(), auth.protect(), and related authorization predicates in @clerk/shared, @clerk/nextjs, @clerk/backend, and other framework SDKs can return true for certain combined authorization checks when the result should be false, allowing a gated action to proceed for a user who does not satisfy the full set of requested conditions. This call shape can be bypassed if certain conditions are met: a has() or auth.protect() call that combines a reverification check with any of role, permission, feature, or plan, or that combines a billing check (feature or plan) with a role or permission check. This vulnerability is fixed in @clerk/clerk-js 5.125.10 and 6.7.5.
What to do
Fixed builds are available from npm: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| npm library | @clerk/astro | Fixed | 3.0.18 | GHSA-w24r-5266-9c3c |
| npm library | @clerk/backend | Fixed | 2.33.3 | GHSA-w24r-5266-9c3c |
| npm library | @clerk/chrome-extension | Fixed | 3.1.15 | GHSA-w24r-5266-9c3c |
| npm library | @clerk/clerk-expo | Fixed | 2.19.36 | GHSA-w24r-5266-9c3c |
| npm library | @clerk/clerk-js | Fixed | 6.7.5 | GHSA-w24r-5266-9c3c |
| npm library | @clerk/clerk-react | Fixed | 5.61.6 | GHSA-w24r-5266-9c3c |
| npm library | @clerk/expo | Fixed | 3.2.2 | GHSA-w24r-5266-9c3c |
| npm library | @clerk/express | Fixed | 1.7.79 | GHSA-w24r-5266-9c3c |
| npm library | @clerk/fastify | Fixed | 3.1.16 | GHSA-w24r-5266-9c3c |
| npm library | @clerk/hono | Fixed | 0.1.16 | GHSA-w24r-5266-9c3c |
| npm library | @clerk/nextjs | Fixed | 6.39.3 | GHSA-w24r-5266-9c3c |
| npm library | @clerk/nuxt | Fixed | 2.2.5 | GHSA-w24r-5266-9c3c |
| npm library | @clerk/react | Fixed | 6.4.3 | GHSA-w24r-5266-9c3c |
| npm library | @clerk/react-router | Fixed | 3.1.4 | GHSA-w24r-5266-9c3c |
| npm library | @clerk/shared | Fixed | 3.47.5 | GHSA-w24r-5266-9c3c |
| npm library | @clerk/tanstack-react-start | Fixed | 0.29.11 | GHSA-w24r-5266-9c3c |
| npm library | @clerk/vue | Fixed | 1.17.21 | GHSA-w24r-5266-9c3c |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- clerk javascript: affected: >= 5.22.0, < 5.125.10, >= 6.0.0, < 6.7.5
- @clerk shared: affected: >= 3.0.0, <= 3.47.4, >= 4.0.0, <= 4.8.2
- @clerk backend: affected: >= 2.0.0, <= 2.33.2, >= 3.0.0, <= 3.2.13
- @clerk nextjs: affected: >= 6.0.0, <= 6.39.2, >= 7.0.0, <= 7.2.3
- @clerk clerk-react: affected: >= 5.9.0, <= 5.61.5
- @clerk react: affected: >= 6.0.0, <= 6.4.2
- @clerk vue: affected: >= 1.0.0, <= 1.17.20, >= 2.0.0, <= 2.0.15
- @clerk astro: affected: >= 2.0.0, <= 2.17.10, >= 3.0.0, <= 3.0.17
- @clerk nuxt: affected: >= 1.0.0, <= 1.13.28, >= 2.0.0, <= 2.2.4
- @clerk clerk-expo: affected: >= 2.2.11, <= 2.19.35
- @clerk expo: affected: >= 3.0.0, <= 3.2.1
- @clerk react-router: affected: >= 0.0.1, <= 2.4.12, >= 3.0.0, <= 3.1.3
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.