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…
EPSS 0.2%top 84%

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: 05/11/2026 (05/11/2026, 16:08:27 UTC)
Source: CVE Database V5
Vendor/Project: clerk
Product: javascript

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.

CVSS v4.0

Score 7.6high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/19/2026, 09:19:51 UTC

Technical Analysis

The vulnerability in Clerk JavaScript SDKs involves improper checking of unusual or exceptional conditions (CWE-754) and insufficient authorization (CWE-863) in combined authorization predicates such as has() and auth.protect(). When these predicates combine reverification with role, permission, feature, or plan checks, or combine billing checks with role or permission checks, the functions may erroneously return true, granting access to users who do not meet all required conditions. This flaw exists in multiple Clerk SDK packages including @clerk/shared, @clerk/nextjs, and @clerk/backend. The vulnerability is fixed in versions 5.125.10 and 6.7.5 of @clerk/clerk-js.

Potential Impact

An attacker with limited privileges might bypass combined authorization checks and perform actions that should be restricted, potentially leading to unauthorized access to gated features or operations. The CVSS 4.0 score of 7.6 (high severity) reflects the network attack vector, low attack complexity, and the requirement for privileges but no user interaction. There are no reports of active exploitation in the wild.

Mitigation Recommendations

Upgrading to @clerk/clerk-js versions 5.125.10 or 6.7.5 or later fully addresses this vulnerability. Users of affected versions should apply these updates promptly. Since this is a client-side library, patching the dependency in applications is required. No vendor advisory explicitly states otherwise, so patching is recommended.

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: 05/12/2026, 01:50:59 UTC

Last enriched: 05/19/2026, 09:19:51 UTC

Last updated: 07/01/2026, 20:51:20 UTC

Views: 92

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