CVE-2026-42349
Clerk: 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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
7.6
Clerk: 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.
- Record
CVE-2026-42349- CVSS 4.0
- 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 - Weakness
- CWE-754, CWE-863
- Updated
- 2026-11-02
EUVDEUVD-2026-29125
7.6
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.
- Record
EUVD-2026-29125- CVSS 4.0
- 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-w24r-5266-9c3c
7.6
Clerk has an authorization bypass when combining organization, billing, or reverification checks
Summary
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.
Sessions are not compromised and no existing user can be impersonated. The bypass is limited to the authorization decision returned by the predicate. clerkMiddleware continues to authenticate requests correctly, auth() reflects the real authentication state, and token verification is unaffected.
Who is affected
All apps that combine more than one authorization dimension in a single has() or auth.protect() call should upgrade to the patched versions. Patches are drop-in with no API changes. The information below describes the scope of the bypass and helps developers understand whether their apps are potentially affected, but is not a reason to delay the upgrade.
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.
// Reverification combined with role / permission / feature / plan
await auth.protect({ permission: 'org:settings:delete', reverification: 'strict' });
const canAct = has({ role: 'org:admin', reverification: 'strict' });
// Billing (feature / plan) combined with role / permission
const canAct = has({ permission: 'org:admin', feature: 'premium' });
Single-condition checks are not affected and continue to fail closed as expected:
await auth.protect({ permission: 'org:settings:delete' });
has({ reverification: 'strict' });
The callback form of auth.protect is not affected unless the callback itself invokes one of the affected shapes:
await auth.protect(has => has({ permission: 'org:X' }) && has({ reverification: 'strict' }));
App patterns that rely only on single-condition checks, or that combine them via the callback form, are unaffected. Authentication, session state, and token verification continue to work correctly regardless of this bypass.
@clerk/shared is usually not imported directly in application code, but the fix lives there and reaches an app through its framework package. If developers import createCheckAuthorization from @clerk/shared directly, their apps are also affected. Run npm why @clerk/shared (or the app's package manager's equivalent) to check the installed version.
Additional auth.protect() bypass
A second, related bypass lives in @clerk/nextjs: auth.protect() silently discarded authorization params (role, permission, feature, plan, reverification) whenever the same argument object also contained unauthenticatedUrl, unauthorizedUrl, or token.
Recommended actions
Upgrade to the latest patch release of the consuming app's framework package on its current major. Both Core 2 and Core 3 release lines have patches. See the "Affected packages" section above for the exact vulnerable ranges and patched versions per package.
If a consuming app pins @clerk/clerk-js directly, upgrade it to the patched version. Most apps load @clerk/clerk-js from Clerk's CDN through their framework package and will receive the fix automatically, with no upgrade step required.
Workaround
If developers cannot upgrade immediately, split combined has() or auth.protect() calls into sequential single-condition checks:
// Replace
await auth.protect({ permission: 'org:X', reverification: 'strict' });
// With
await auth.protect({ reverification: 'strict' });
await auth.protect({ permission: 'org:X' });
Each single-condition check fails closed as expected, so evaluating them independently and denying if either fails produces the correct…
- Record
GHSA-w24r-5266-9c3c- CVSS 4.0
- 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 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-754, CWE-863
- Updated
- 2026-11-02
NVD
7.6
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.
- Record
CVE-2026-42349- CVSS 4.0
- 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/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 - CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-754, CWE-863
- Updated
- 2026-11-02
OSV
7.6
Clerk: 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.
- Record
CVE-2026-42349- CVSS 4.0
- 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 - Weakness
- CWE-754, CWE-863
- Updated
- 2026-11-02
OSVGHSA-w24r-5266-9c3c
7.6
Clerk has an authorization bypass when combining organization, billing, or reverification checks
Summary
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.
Sessions are not compromised and no existing user can be impersonated. The bypass is limited to the authorization decision returned by the predicate. clerkMiddleware continues to authenticate requests correctly, auth() reflects the real authentication state, and token verification is unaffected.
Who is affected
All apps that combine more than one authorization dimension in a single has() or auth.protect() call should upgrade to the patched versions. Patches are drop-in with no API changes. The information below describes the scope of the bypass and helps developers understand whether their apps are potentially affected, but is not a reason to delay the upgrade.
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.
// Reverification combined with role / permission / feature / plan
await auth.protect({ permission: 'org:settings:delete', reverification: 'strict' });
const canAct = has({ role: 'org:admin', reverification: 'strict' });
// Billing (feature / plan) combined with role / permission
const canAct = has({ permission: 'org:admin', feature: 'premium' });
Single-condition checks are not affected and continue to fail closed as expected:
await auth.protect({ permission: 'org:settings:delete' });
has({ reverification: 'strict' });
The callback form of auth.protect is not affected unless the callback itself invokes one of the affected shapes:
await auth.protect(has => has({ permission: 'org:X' }) && has({ reverification: 'strict' }));
App patterns that rely only on single-condition checks, or that combine them via the callback form, are unaffected. Authentication, session state, and token verification continue to work correctly regardless of this bypass.
@clerk/shared is usually not imported directly in application code, but the fix lives there and reaches an app through its framework package. If developers import createCheckAuthorization from @clerk/shared directly, their apps are also affected. Run npm why @clerk/shared (or the app's package manager's equivalent) to check the installed version.
Additional auth.protect() bypass
A second, related bypass lives in @clerk/nextjs: auth.protect() silently discarded authorization params (role, permission, feature, plan, reverification) whenever the same argument object also contained unauthenticatedUrl, unauthorizedUrl, or token.
Recommended actions
Upgrade to the latest patch release of the consuming app's framework package on its current major. Both Core 2 and Core 3 release lines have patches. See the "Affected packages" section above for the exact vulnerable ranges and patched versions per package.
If a consuming app pins @clerk/clerk-js directly, upgrade it to the patched version. Most apps load @clerk/clerk-js from Clerk's CDN through their framework package and will receive the fix automatically, with no upgrade step required.
Workaround
If developers cannot upgrade immediately, split combined has() or auth.protect() calls into sequential single-condition checks:
// Replace
await auth.protect({ permission: 'org:X', reverification: 'strict' });
// With
await auth.protect({ reverification: 'strict' });
await auth.protect({ permission: 'org:X' });
Each single-condition check fails closed as expected, so evaluating them independently and denying if either fails produces the correct…
- Record
GHSA-w24r-5266-9c3c- CVSS 4.0
- 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 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-754, CWE-863
- Updated
- 2026-11-02
Affected products
- @clerk backend
- @clerk nextjs
- @clerk shared
- @clerk astro
- @clerk chrome-extension
- @clerk clerk-expo
- @clerk clerk-react
- @clerk expo
- @clerk express
- @clerk fastify
- @clerk hono
- @clerk nuxt
Show 25 moreShow less
- @clerk react
- @clerk react-router
- @clerk tanstack-react-start
- @clerk vue
- clerk javascript
- clerk clerk\/astro
- clerk clerk\/backend
- clerk clerk\/chrome-extension
- clerk clerk\/clerk-expo
- clerk clerk\/clerk-js
- clerk clerk\/clerk-react
- clerk clerk\/expo
- clerk clerk\/express
- clerk clerk\/fastify
- clerk clerk\/hono
- clerk clerk\/nextjs
- clerk clerk\/nuxt
- clerk clerk\/react
- clerk clerk\/react-router
- clerk clerk\/shared
- clerk clerk\/tanstack-react-start
- clerk clerk\/vue
- @tanstack react-router
- honojs hono
- withastro astro
Affected packages
| Package | Affected | Fixed |
|---|---|---|
@clerk/sharednpm |
3.0.0 to 3.47.4 | 3.47.5 |
@clerk/sharednpm |
4.0.0 to 4.8.2 | 4.8.3 |
@clerk/backendnpm |
2.0.0 to 2.33.2 | 2.33.3 |
@clerk/backendnpm |
3.0.0 to 3.2.13 | 3.2.14 |
@clerk/nextjsnpm |
6.0.0 to 6.39.2 | 6.39.3 |
@clerk/nextjsnpm |
7.0.0 to 7.2.3 | 7.2.4 |
@clerk/clerk-jsnpm |
5.22.0 to 5.125.9 | 5.125.10 |
@clerk/clerk-jsnpm |
6.0.0 to 6.7.4 | 6.7.5 |
@clerk/clerk-reactnpm |
5.9.0 to 5.61.5 | 5.61.6 |
@clerk/reactnpm |
6.0.0 to 6.4.2 | 6.4.3 |
Show 48 moreShow less
| Package | Affected | Fixed |
|---|---|---|
@clerk/vuenpm |
1.0.0 to 1.17.20 | 1.17.21 |
@clerk/vuenpm |
2.0.0 to 2.0.15 | 2.0.16 |
@clerk/astronpm |
2.0.0 to 2.17.10 | 2.17.11 |
@clerk/astronpm |
3.0.0 to 3.0.17 | 3.0.18 |
@clerk/nuxtnpm |
1.0.0 to 1.13.28 | 1.13.29 |
@clerk/nuxtnpm |
2.0.0 to 2.2.4 | 2.2.5 |
@clerk/clerk-exponpm |
2.2.11 to 2.19.35 | 2.19.36 |
@clerk/exponpm |
3.0.0 to 3.2.1 | 3.2.2 |
@clerk/react-routernpm |
0.0.1 to 2.4.12 | 2.4.13 |
@clerk/react-routernpm |
3.0.0 to 3.1.3 | 3.1.4 |
@clerk/tanstack-react-startnpm |
0.0.1 to 0.29.10 | 0.29.11 |
@clerk/tanstack-react-startnpm |
1.0.0 to 1.1.3 | 1.1.4 |
@clerk/chrome-extensionnpm |
1.3.5 to 2.9.14 | 2.9.15 |
@clerk/chrome-extensionnpm |
3.0.0 to 3.1.14 | 3.1.15 |
@clerk/fastifynpm |
1.0.42 to 2.6.30 | 2.6.31 |
@clerk/fastifynpm |
3.0.0 to 3.1.15 | 3.1.16 |
@clerk/expressnpm |
0.1.0 to 1.7.78 | 1.7.79 |
@clerk/expressnpm |
2.0.0 to 2.1.5 | 2.1.6 |
@clerk/hononpm |
0.0.2 to 0.1.15 | 0.1.16 |
@clerk/sharednpm |
3.0.0 up to 3.47.5 | 3.47.5 |
@clerk/sharednpm |
4.0.0 up to 4.8.3 | 4.8.3 |
@clerk/backendnpm |
2.0.0 up to 2.33.3 | 2.33.3 |
@clerk/backendnpm |
3.0.0 up to 3.2.14 | 3.2.14 |
@clerk/nextjsnpm |
6.0.0 up to 6.39.3 | 6.39.3 |
@clerk/nextjsnpm |
7.0.0 up to 7.2.4 | 7.2.4 |
@clerk/clerk-jsnpm |
5.22.0 up to 5.125.10 | 5.125.10 |
@clerk/clerk-jsnpm |
6.0.0 up to 6.7.5 | 6.7.5 |
@clerk/clerk-reactnpm |
5.9.0 up to 5.61.6 | 5.61.6 |
@clerk/reactnpm |
6.0.0 up to 6.4.3 | 6.4.3 |
@clerk/vuenpm |
1.0.0 up to 1.17.21 | 1.17.21 |
@clerk/vuenpm |
2.0.0 up to 2.0.16 | 2.0.16 |
@clerk/astronpm |
2.0.0 up to 2.17.11 | 2.17.11 |
@clerk/astronpm |
3.0.0 up to 3.0.18 | 3.0.18 |
@clerk/nuxtnpm |
1.0.0 up to 1.13.29 | 1.13.29 |
@clerk/nuxtnpm |
2.0.0 up to 2.2.5 | 2.2.5 |
@clerk/clerk-exponpm |
2.2.11 up to 2.19.36 | 2.19.36 |
@clerk/exponpm |
3.0.0 up to 3.2.2 | 3.2.2 |
@clerk/react-routernpm |
0.0.1 up to 2.4.13 | 2.4.13 |
@clerk/react-routernpm |
3.0.0 up to 3.1.4 | 3.1.4 |
@clerk/tanstack-react-startnpm |
0.0.1 up to 0.29.11 | 0.29.11 |
@clerk/tanstack-react-startnpm |
1.0.0 up to 1.1.4 | 1.1.4 |
@clerk/chrome-extensionnpm |
1.3.5 up to 2.9.15 | 2.9.15 |
@clerk/chrome-extensionnpm |
3.0.0 up to 3.1.15 | 3.1.15 |
@clerk/fastifynpm |
1.0.42 up to 2.6.31 | 2.6.31 |
@clerk/fastifynpm |
3.0.0 up to 3.1.16 | 3.1.16 |
@clerk/expressnpm |
0.1.0 up to 1.7.79 | 1.7.79 |
@clerk/expressnpm |
2.0.0 up to 2.1.6 | 2.1.6 |
@clerk/hononpm |
0.0.2 up to 0.1.16 | 0.1.16 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-42349 is a high vulnerability (CVSS 7.6) in @clerk Backend, published April 30, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.25%, the 15th percentile. Fixed in @clerk/shared 3.47.5.
References
Left out here: the rest of 2 source descriptions. The JSON record has them.