cve.bz

CVE-2026-42349 clerk: Incorrect Authorization

7.6 highEPSS 0.2%Fix available

High (7.6) in clerk. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in @clerk/shared 3.47.5, 4.8.3.

On this page
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.

Severity

CVSS 4.0

7.6 high
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

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 16th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-05-14. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-754 Improper Check for Unusual or Exceptional Conditions
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control, A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

  • @clerk/shared (npm): fixed in 3.47.5, 4.8.3
  • @clerk/backend (npm): fixed in 2.33.3, 3.2.14
  • @clerk/nextjs (npm): fixed in 6.39.3, 7.2.4
  • @clerk/clerk-js (npm): fixed in 5.125.10, 6.7.5
  • @clerk/clerk-react (npm): fixed in 5.61.6
  • @clerk/react (npm): fixed in 6.4.3
  • @clerk/vue (npm): fixed in 1.17.21, 2.0.16
  • @clerk/astro (npm): fixed in 2.17.11, 3.0.18
  • Vendor advisory: https://github.com/clerk/javascript/security/advisories/GHSA-w24r-5266-9c3c

Ask an AI about this CVE

Show the promptExplain CVE-2026-42349 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42349?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42349?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42349 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • clerk:clerk\/astro
  • clerk:clerk\/backend
  • clerk:clerk\/chrome-extension
  • clerk:clerk\/clerk-expo
  • clerk:clerk\/clerk-js
  • clerk:clerk\/clerk-react
  • clerk:clerk\/expo
  • clerk:clerk\/express
  • clerk:clerk\/fastify
  • clerk:clerk\/hono
  • clerk:clerk\/nextjs
  • clerk:clerk\/nuxt
  • clerk:clerk\/react
  • clerk:clerk\/react-router
  • clerk:clerk\/shared
  • clerk:clerk\/tanstack-react-start
  • clerk:clerk\/vue

Versions

From the NVD's CPE matches.

ProductAffected
clerk:clerk/astrofrom 2.0.0 before 2.17.11
clerk:clerk/astrofrom 3.0.0 before 3.0.18
clerk:clerk/backendfrom 2.0.0 before 2.33.3
clerk:clerk/backendfrom 3.0.0 before 3.2.14
clerk:clerk/chrome-extensionfrom 1.3.5 before 2.9.15
clerk:clerk/chrome-extensionfrom 3.0.0 before 3.1.15
clerk:clerk/clerk-expofrom 2.2.11 before 2.19.36
clerk:clerk/clerk-jsfrom 5.22.0 before 5.125.10
clerk:clerk/clerk-jsfrom 6.0.0 before 6.7.5
clerk:clerk/clerk-reactfrom 5.9.0 before 5.61.6
clerk:clerk/expofrom 3.0.0 before 3.2.2
clerk:clerk/expressfrom 0.1.0 before 1.7.79
clerk:clerk/expressfrom 2.0.0 before 2.1.6
clerk:clerk/fastifyfrom 1.0.42 before 2.6.31
clerk:clerk/fastifyfrom 3.0.0 before 3.1.16
clerk:clerk/honofrom 0.0.2 before 0.1.16
clerk:clerk/nextjsfrom 6.0.0 through 6.39.3
clerk:clerk/nextjsfrom 7.0.0 before 7.2.4
clerk:clerk/nuxtfrom 1.0.0 before 1.13.29
clerk:clerk/nuxtfrom 2.0.0 before 2.2.5
clerk:clerk/reactfrom 6.0.0 before 6.4.3
clerk:clerk/react-routerfrom 0.0.1 before 2.4.13
clerk:clerk/react-routerfrom 3.0.0 before 3.1.4
clerk:clerk/sharedfrom 3.0.0 before 3.47.5
clerk:clerk/sharedfrom 4.0.0 before 4.8.3
clerk:clerk/tanstack-react-startfrom 0.0.1 before 0.29.11
clerk:clerk/tanstack-react-startfrom 1.0.0 before 1.1.4
clerk:clerk/vuefrom 1.0.0 before 1.17.21
clerk:clerk/vuefrom 2.0.0 before 2.0.16

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w24r-5266-9c3cnpm@clerk/shared>=3.0.0 <3.47.53.47.5
GHSA-w24r-5266-9c3cnpm@clerk/shared>=4.0.0 <4.8.34.8.3
GHSA-w24r-5266-9c3cnpm@clerk/backend>=2.0.0 <2.33.32.33.3
GHSA-w24r-5266-9c3cnpm@clerk/backend>=3.0.0 <3.2.143.2.14
GHSA-w24r-5266-9c3cnpm@clerk/nextjs>=6.0.0 <6.39.36.39.3
GHSA-w24r-5266-9c3cnpm@clerk/nextjs>=7.0.0 <7.2.47.2.4
GHSA-w24r-5266-9c3cnpm@clerk/clerk-js>=5.22.0 <5.125.105.125.10
GHSA-w24r-5266-9c3cnpm@clerk/clerk-js>=6.0.0 <6.7.56.7.5
GHSA-w24r-5266-9c3cnpm@clerk/clerk-react>=5.9.0 <5.61.65.61.6
GHSA-w24r-5266-9c3cnpm@clerk/react>=6.0.0 <6.4.36.4.3
GHSA-w24r-5266-9c3cnpm@clerk/vue>=1.0.0 <1.17.211.17.21
GHSA-w24r-5266-9c3cnpm@clerk/vue>=2.0.0 <2.0.162.0.16
GHSA-w24r-5266-9c3cnpm@clerk/astro>=2.0.0 <2.17.112.17.11
GHSA-w24r-5266-9c3cnpm@clerk/astro>=3.0.0 <3.0.183.0.18
GHSA-w24r-5266-9c3cnpm@clerk/nuxt>=1.0.0 <1.13.291.13.29
GHSA-w24r-5266-9c3cnpm@clerk/nuxt>=2.0.0 <2.2.52.2.5
GHSA-w24r-5266-9c3cnpm@clerk/clerk-expo>=2.2.11 <2.19.362.19.36
GHSA-w24r-5266-9c3cnpm@clerk/expo>=3.0.0 <3.2.23.2.2
GHSA-w24r-5266-9c3cnpm@clerk/react-router>=0.0.1 <2.4.132.4.13
GHSA-w24r-5266-9c3cnpm@clerk/react-router>=3.0.0 <3.1.43.1.4
GHSA-w24r-5266-9c3cnpm@clerk/tanstack-react-start>=0.0.1 <0.29.110.29.11
GHSA-w24r-5266-9c3cnpm@clerk/tanstack-react-start>=1.0.0 <1.1.41.1.4
GHSA-w24r-5266-9c3cnpm@clerk/chrome-extension>=1.3.5 <2.9.152.9.15
GHSA-w24r-5266-9c3cnpm@clerk/chrome-extension>=3.0.0 <3.1.153.1.15
GHSA-w24r-5266-9c3cnpm@clerk/fastify>=1.0.42 <2.6.312.6.31
GHSA-w24r-5266-9c3cnpm@clerk/fastify>=3.0.0 <3.1.163.1.16
GHSA-w24r-5266-9c3cnpm@clerk/express>=0.1.0 <1.7.791.7.79
GHSA-w24r-5266-9c3cnpm@clerk/express>=2.0.0 <2.1.62.1.6
GHSA-w24r-5266-9c3cnpm@clerk/hono>=0.0.2 <0.1.160.1.16

References

Check your stackJSON