Clerk: Authorization bypass when combining organization, billing, or reverification checks
Summary
| CVE | CVE-2026-42349 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-11 17:16:33 UTC |
| Updated | 2026-05-11 17:16:33 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v4.0 7.6 HIGH from [email protected]
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS: 0.000540000 probability, percentile 0.168460000 (date 2026-05-12)
Problem Types: CWE-754 | CWE-863 | CWE-754 CWE-754: Improper Check for Unusual or Exceptional Conditions | CWE-863 CWE-863: Incorrect Authorization
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 7.6 | HIGH | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/C... |
| 4.0 | CNA | DECLARED | 7.6 | HIGH | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
PresentPrivileges Required
LowUser Interaction
NoneConfidentiality
HighIntegrity
HighAvailability
NoneSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Clerk | Javascript | affected >= 5.22.0, < 5.125.10 | Not specified |
| CNA | Clerk | Javascript | affected >= 6.0.0, < 6.7.5 | Not specified |
| CNA | @clerk | Shared | affected >= 3.0.0, <= 3.47.4 | Not specified |
| CNA | @clerk | Shared | affected >= 4.0.0, <= 4.8.2 | Not specified |
| CNA | @clerk | Backend | affected >= 2.0.0, <= 2.33.2 | Not specified |
| CNA | @clerk | Backend | affected >= 3.0.0, <= 3.2.13 | Not specified |
| CNA | @clerk | Nextjs | affected >= 6.0.0, <= 6.39.2 | Not specified |
| CNA | @clerk | Nextjs | affected >= 7.0.0, <= 7.2.3 | Not specified |
| CNA | @clerk | Clerk-react | affected >= 5.9.0, <= 5.61.5 | Not specified |
| CNA | @clerk | React | affected >= 6.0.0, <= 6.4.2 | Not specified |
| CNA | @clerk | Vue | affected >= 1.0.0, <= 1.17.20 | Not specified |
| CNA | @clerk | Vue | affected >= 2.0.0, <= 2.0.15 | Not specified |
| CNA | @clerk | Astro | affected >= 2.0.0, <= 2.17.10 | Not specified |
| CNA | @clerk | Astro | affected >= 3.0.0, <= 3.0.17 | Not specified |
| CNA | @clerk | Nuxt | affected >= 1.0.0, <= 1.13.28 | Not specified |
| CNA | @clerk | Nuxt | affected >= 2.0.0, <= 2.2.4 | Not specified |
| CNA | @clerk | Clerk-expo | affected >= 2.2.11, <= 2.19.35 | Not specified |
| CNA | @clerk | Expo | affected >= 3.0.0, <= 3.2.1 | Not specified |
| CNA | @clerk | React-router | affected >= 0.0.1, <= 2.4.12 | Not specified |
| CNA | @clerk | React-router | affected >= 3.0.0, <= 3.1.3 | Not specified |
| CNA | @clerk | Tanstack-react-start | affected >= 0.0.1, <= 0.29.10 | Not specified |
| CNA | @clerk | Tanstack-react-start | affected >= 1.0.0, <= 1.1.3 | Not specified |
| CNA | @clerk | Chrome-extension | affected >= 1.3.5, <= 2.9.14 | Not specified |
| CNA | @clerk | Chrome-extension | affected >= 3.0.0, <= 3.1.14 | Not specified |
| CNA | @clerk | Fastify | affected >= 1.0.42, <= 2.6.30 | Not specified |
| CNA | @clerk | Fastify | affected >= 3.0.0, <= 3.1.15 | Not specified |
| CNA | @clerk | Express | affected >= 0.1.0, <= 1.7.78 | Not specified |
| CNA | @clerk | Express | affected >= 2.0.0, <= 2.1.5 | Not specified |
| CNA | @clerk | Hono | affected >= 0.0.2, <= 0.1.15 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/clerk/javascript/security/advisories/GHSA-w24r-5266-9c3c | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.