Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-42349: CWE-754: Improper Check for Unusual or Exceptional Conditions in clerk javascript

0
High
VulnerabilityCVE-2026-42349cvecve-2026-42349cwe-754cwe-863
Published: Mon May 11 2026 (05/11/2026, 16:08:27 UTC)
Source: CVE Database V5
Vendor/Project: clerk
Product: 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

AILast updated: 05/12/2026, 02:11:46 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses