CVE-2026-42349

Clerk: Authorization bypass when combining organization, billing, or reverification checks

State
Published
Severity
7.6 High
Published
May 11, 2026
Updated
May 14, 2026
Reserved
Apr 26, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.6 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-754 Improper Check for Unusual or Exceptional Conditions
  • CWE-863 Incorrect Authorization

Affected Products

ProductVersions
javascriptclerk
  • >= 5.22.0, < 5.125.10Affected
  • >= 6.0.0, < 6.7.5Affected
shared@clerk
  • >= 3.0.0, <= 3.47.4Affected
  • >= 4.0.0, <= 4.8.2Affected
backend@clerk
  • >= 2.0.0, <= 2.33.2Affected
  • >= 3.0.0, <= 3.2.13Affected
nextjs@clerk
  • >= 6.0.0, <= 6.39.2Affected
  • >= 7.0.0, <= 7.2.3Affected
clerk-react@clerk
  • >= 5.9.0, <= 5.61.5Affected
react@clerk
  • >= 6.0.0, <= 6.4.2Affected
vue@clerk
  • >= 1.0.0, <= 1.17.20Affected
  • >= 2.0.0, <= 2.0.15Affected
astro@clerk
  • >= 2.0.0, <= 2.17.10Affected
  • >= 3.0.0, <= 3.0.17Affected
nuxt@clerk
  • >= 1.0.0, <= 1.13.28Affected
  • >= 2.0.0, <= 2.2.4Affected
clerk-expo@clerk
  • >= 2.2.11, <= 2.19.35Affected
expo@clerk
  • >= 3.0.0, <= 3.2.1Affected
react-router@clerk
  • >= 0.0.1, <= 2.4.12Affected
  • >= 3.0.0, <= 3.1.3Affected
tanstack-react-start@clerk
  • >= 0.0.1, <= 0.29.10Affected
  • >= 1.0.0, <= 1.1.3Affected
chrome-extension@clerk
  • >= 1.3.5, <= 2.9.14Affected
  • >= 3.0.0, <= 3.1.14Affected
fastify@clerk
  • >= 1.0.42, <= 2.6.30Affected
  • >= 3.0.0, <= 3.1.15Affected
express@clerk
  • >= 0.1.0, <= 1.7.78Affected
  • >= 2.0.0, <= 2.1.5Affected
hono@clerk
  • >= 0.0.2, <= 0.1.15Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.