The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-42349

CVE-2026-42349: Clerk JavaScript Auth Bypass Vulnerability

CVE-2026-42349 is an authentication bypass flaw in Clerk JavaScript SDKs that allows unauthorized access when combined authorization checks incorrectly return true. This article covers technical details, affected versions, impact, and mitigation.

Published: May 18, 2026

CVE-2026-42349 Overview

CVE-2026-42349 is an authorization bypass vulnerability affecting Clerk JavaScript, the official authentication library for Clerk. The flaw exists in the has(), auth.protect(), and related authorization predicate functions across @clerk/shared, @clerk/nextjs, @clerk/backend, and other framework SDKs. These predicates can return true for combined authorization checks when the result should be false. The bypass allows users who do not satisfy the full set of conditions to perform gated actions. The vulnerability maps to [CWE-754: Improper Check for Unusual or Exceptional Conditions].

Critical Impact

Authenticated users can bypass combined authorization checks that mix reverification with role, permission, feature, or plan conditions, gaining access to protected actions without meeting all required policies.

Affected Products

  • @clerk/clerk-js versions prior to 5.125.10
  • @clerk/clerk-js 6.x versions prior to 6.7.5
  • @clerk/shared, @clerk/nextjs, @clerk/backend, and related framework SDKs that rely on the affected predicate logic

Discovery Timeline

  • 2026-05-11 - CVE-2026-42349 published to NVD
  • 2026-05-14 - Last updated in NVD database

Technical Details for CVE-2026-42349

Vulnerability Analysis

The vulnerability resides in the authorization predicate logic that evaluates compound checks. The has() function and auth.protect() helper accept structured arguments combining multiple authorization conditions. When a caller combines a reverification check with a role, permission, feature, or plan check, or combines a billing check (feature or plan) with a role or permission check, the predicate evaluates the combination incorrectly. The function returns true when one component passes, rather than requiring all components to pass.

Applications using Clerk to gate sensitive actions, such as administrative operations, paid features, or operations requiring step-up authentication, can be invoked by users who satisfy only a subset of the policy. The vulnerability does not require attacker-controlled input beyond an authenticated session.

Root Cause

The root cause is improper handling of compound conditional logic within the authorization predicates. The implementation fails to enforce logical conjunction across all check categories when reverification or billing conditions are combined with role-based or permission-based conditions. This is consistent with [CWE-754], where an exceptional state in the combined evaluation is not handled correctly.

Attack Vector

An authenticated user with low privileges sends a request to an endpoint protected by a compound Clerk authorization check. If the protection logic combines reverification with a role or permission check, or pairs a billing entitlement with a role or permission check, the predicate returns true for the user who only matches one condition. The gated action executes as if the user satisfied every requirement.

Exploitation requires network access to the application and a valid authenticated session. No user interaction is needed beyond normal application use. See the GitHub Security Advisory GHSA-w24r-5266-9c3c for the maintainer's technical description.

Detection Methods for CVE-2026-42349

Indicators of Compromise

  • Application audit logs showing successful execution of gated actions by user accounts that lack the required role, permission, plan, or feature entitlement.
  • Successful access to endpoints protected by auth.protect() or has() without a recent reverification event in the session log.
  • Unexpected billing-gated feature usage by accounts on plans that do not include those features.

Detection Strategies

  • Review server-side authorization decisions and correlate them against the user's actual role, permission, plan, feature, and reverification state at request time.
  • Inventory all call sites of has() and auth.protect() in the codebase, focusing on calls that combine reverification with role, permission, feature, or plan conditions, or that combine billing checks with role or permission checks.
  • Add server-side assertions that independently re-evaluate each authorization condition for sensitive routes.

Monitoring Recommendations

  • Log every authorization decision returned by Clerk predicates, including the input conditions and the user's resolved attributes.
  • Alert on access to sensitive routes when the user's plan, feature, or reverification status does not match the route's policy.
  • Track Clerk SDK package versions across services and flag any deployment still running @clerk/clerk-js below 5.125.10 or 6.7.5.

How to Mitigate CVE-2026-42349

Immediate Actions Required

  • Upgrade @clerk/clerk-js to 5.125.10 on the 5.x branch or 6.7.5 on the 6.x branch, and update transitive Clerk SDK packages to versions that consume the fixed core.
  • Audit application code for compound has() and auth.protect() calls that mix reverification with role, permission, feature, or plan, or that mix billing checks with role or permission checks.
  • Temporarily split compound checks into sequential individual checks until patched versions are deployed across all services.

Patch Information

The Clerk maintainers fixed the vulnerability in @clerk/clerk-js5.125.10 and 6.7.5. Patch details and the full advisory are available in the Clerk GitHub Security Advisory.

Workarounds

  • Replace single compound predicate calls with multiple sequential calls, evaluating each condition independently and requiring all to return true before proceeding.
  • Implement a defense-in-depth authorization layer on the server that revalidates role, permission, plan, feature, and reverification state outside of the Clerk predicate.
  • Restrict access to high-impact endpoints to explicitly enumerated roles or permissions until upgrade is complete.
bash
# Update Clerk SDK to a fixed version
npm install @clerk/clerk-js@^5.125.10
# or, for the 6.x branch
npm install @clerk/clerk-js@^6.7.5

# Verify installed version
npm ls @clerk/clerk-js

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechClerk

  • SeverityHIGH

  • CVSS Score7.6

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • 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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-754
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-41248: Clerk JavaScript Auth Bypass Vulnerability

  • CVE-2025-53548: Clerk Webhook Auth Bypass Vulnerability

  • CVE-2026-34076: Clerk JavaScript SSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English