CVEfocus › CVE database › CVE-2026-42349

CVE-2026-42349Clerk: Authorization bypass when combining organization, billing, or reverification checks

CVSS 7.6 HighEPSS 0.4% (higher than 29% of CVEs)Published 2026-05-11Updated 2026-05-14Assigner: GitHub_M

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.

CWE-754CWE-863

What to do

Fixed builds are available from npm: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

17Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
npm library@clerk/astroFixed3.0.18GHSA-w24r-5266-9c3c
npm library@clerk/backendFixed2.33.3GHSA-w24r-5266-9c3c
npm library@clerk/chrome-extensionFixed3.1.15GHSA-w24r-5266-9c3c
npm library@clerk/clerk-expoFixed2.19.36GHSA-w24r-5266-9c3c
npm library@clerk/clerk-jsFixed6.7.5GHSA-w24r-5266-9c3c
npm library@clerk/clerk-reactFixed5.61.6GHSA-w24r-5266-9c3c
npm library@clerk/expoFixed3.2.2GHSA-w24r-5266-9c3c
npm library@clerk/expressFixed1.7.79GHSA-w24r-5266-9c3c
npm library@clerk/fastifyFixed3.1.16GHSA-w24r-5266-9c3c
npm library@clerk/honoFixed0.1.16GHSA-w24r-5266-9c3c
npm library@clerk/nextjsFixed6.39.3GHSA-w24r-5266-9c3c
npm library@clerk/nuxtFixed2.2.5GHSA-w24r-5266-9c3c
npm library@clerk/reactFixed6.4.3GHSA-w24r-5266-9c3c
npm library@clerk/react-routerFixed3.1.4GHSA-w24r-5266-9c3c
npm library@clerk/sharedFixed3.47.5GHSA-w24r-5266-9c3c
npm library@clerk/tanstack-react-startFixed0.29.11GHSA-w24r-5266-9c3c
npm library@clerk/vueFixed1.17.21GHSA-w24r-5266-9c3c

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.