CVE-2026-42349: CWE-754: Improper Check for Unusual or Exceptional Conditions in clerk javascript
CVE-2026-42349 is a high-severity vulnerability in Clerk JavaScript SDKs related to improper checks for unusual or exceptional conditions. The issue affects authorization predicates such as has() and auth. protect() across multiple Clerk SDKs, where combined authorization checks may incorrectly return true, allowing unauthorized users to perform gated actions. This occurs when certain combinations of checks involving reverification, roles, permissions, features, or plans are used. The vulnerability is fixed in versions 5. 125. 10 and 6. 7. 5 of @clerk/clerk-js. No known exploits are reported in the wild as of the publication date.
AI Analysis
Technical Summary
The vulnerability in Clerk JavaScript SDKs arises from improper validation logic in authorization predicates like has() and auth.protect(). When these functions combine reverification checks with roles, permissions, features, or plans, or combine billing checks with roles or permissions, they may erroneously grant access by returning true when they should not. This flaw can lead to unauthorized users bypassing intended access controls. The issue is tracked as CWE-754 (Improper Check for Unusual or Exceptional Conditions) and CWE-863 (Incorrect Authorization). It affects versions >= 5.22.0 and < 5.125.10, and >= 6.0.0 and < 6.7.5 of the Clerk JavaScript SDK. Fixed versions are 5.125.10 and 6.7.5.
Potential Impact
The vulnerability allows users who do not meet the full set of authorization conditions to perform actions that should be gated, potentially leading to unauthorized access or privilege escalation within applications using affected Clerk JavaScript SDK versions. The CVSS 4.0 score of 7.6 reflects a high severity with network attack vector, low attack complexity, partial privileges required, no user interaction, and high impact on confidentiality and integrity.
Mitigation Recommendations
A fix is available and users should upgrade to @clerk/clerk-js versions 5.125.10 or 6.7.5 or later. Since this is a client-side SDK vulnerability, applying the official patch is the recommended remediation. Patch status is confirmed by the vendor advisory indicating these fixed versions. No additional vendor advisory states that no action is required or that the issue is mitigated otherwise.
CVE-2026-42349: CWE-754: Improper Check for Unusual or Exceptional Conditions in clerk javascript
Description
CVE-2026-42349 is a high-severity vulnerability in Clerk JavaScript SDKs related to improper checks for unusual or exceptional conditions. The issue affects authorization predicates such as has() and auth. protect() across multiple Clerk SDKs, where combined authorization checks may incorrectly return true, allowing unauthorized users to perform gated actions. This occurs when certain combinations of checks involving reverification, roles, permissions, features, or plans are used. The vulnerability is fixed in versions 5. 125. 10 and 6. 7. 5 of @clerk/clerk-js. No known exploits are reported in the wild as of the publication date.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Clerk JavaScript SDKs arises from improper validation logic in authorization predicates like has() and auth.protect(). When these functions combine reverification checks with roles, permissions, features, or plans, or combine billing checks with roles or permissions, they may erroneously grant access by returning true when they should not. This flaw can lead to unauthorized users bypassing intended access controls. The issue is tracked as CWE-754 (Improper Check for Unusual or Exceptional Conditions) and CWE-863 (Incorrect Authorization). It affects versions >= 5.22.0 and < 5.125.10, and >= 6.0.0 and < 6.7.5 of the Clerk JavaScript SDK. Fixed versions are 5.125.10 and 6.7.5.
Potential Impact
The vulnerability allows users who do not meet the full set of authorization conditions to perform actions that should be gated, potentially leading to unauthorized access or privilege escalation within applications using affected Clerk JavaScript SDK versions. The CVSS 4.0 score of 7.6 reflects a high severity with network attack vector, low attack complexity, partial privileges required, no user interaction, and high impact on confidentiality and integrity.
Mitigation Recommendations
A fix is available and users should upgrade to @clerk/clerk-js versions 5.125.10 or 6.7.5 or later. Since this is a client-side SDK vulnerability, applying the official patch is the recommended remediation. Patch status is confirmed by the vendor advisory indicating these fixed versions. No additional vendor advisory states that no action is required or that the issue is mitigated otherwise.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-26T13:26:14.515Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a028783cbff5d86108b8fef
Added to database: 5/12/2026, 1:50:59 AM
Last enriched: 5/12/2026, 2:11:46 AM
Last updated: 5/12/2026, 3:09:51 AM
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.