Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-42349

HIGH 7.6EPSS 29%

Clerk: Authorization bypass when combining organization, billing, or reverification checks

Also known as GHSA-w24r-5266-9c3c

Mitigation

  • Upgrade @clerk/shared to one of 3.47.5, 4.8.3 (or later in the same release line).
  • Upgrade @clerk/backend to one of 2.33.3, 3.2.14 (or later in the same release line).
  • Upgrade @clerk/nextjs to one of 6.39.3, 7.2.4 (or later in the same release line).
  • Upgrade @clerk/clerk-js to one of 5.125.10, 6.7.5 (or later in the same release line).
  • Upgrade @clerk/clerk-react to 5.61.6 or later.
  • Upgrade @clerk/react to 6.4.3 or later.
  • Upgrade @clerk/vue to one of 1.17.21, 2.0.16 (or later in the same release line).
  • Upgrade @clerk/astro to one of 2.17.11, 3.0.18 (or later in the same release line).

Who should check

  • Projects that depend on npm package @clerk/shared (>= 3.0.0, < 3.47.5)
  • Projects that depend on npm package @clerk/backend (>= 2.0.0, < 2.33.3)
  • Projects that depend on npm package @clerk/nextjs (>= 6.0.0, < 6.39.3)
  • Projects that depend on npm package @clerk/clerk-js (>= 5.22.0, < 5.125.10)
  • Projects that depend on npm package @clerk/clerk-react (>= 5.9.0, < 5.61.6)
  • Projects that depend on npm package @clerk/react (>= 6.0.0, < 6.4.3)
  • Projects that depend on npm package @clerk/vue (>= 1.0.0, < 1.17.21)
  • Projects that depend on npm package @clerk/astro (>= 2.0.0, < 2.17.11)

Vulnerability facts

Affected
@clerk/shared >= 3.0.0, < 3.47.5; @clerk/backend >= 2.0.0, < 2.33.3; @clerk/nextjs >= 6.0.0, < 6.39.3; @clerk/clerk-js >= 5.22.0, < 5.125.10; @clerk/clerk-react >= 5.9.0, < 5.61.6; @clerk/react >= 6.0.0, < 6.4.3; @clerk/vue >= 1.0.0, < 1.17.21; @clerk/astro >= 2.0.0, < 2.17.11; @clerk/nuxt >= 1.0.0, < 1.13.29; @clerk/clerk-expo >= 2.2.11, < 2.19.36; @clerk/expo >= 3.0.0, < 3.2.2; @clerk/react-router >= 0.0.1, < 2.4.13; @clerk/tanstack-react-start >= 0.0.1, < 0.29.11; @clerk/chrome-extension >= 1.3.5, < 2.9.15; @clerk/fastify >= 1.0.42, < 2.6.31; @clerk/express >= 0.1.0, < 1.7.79; @clerk/hono >= 0.0.2, < 0.1.16
Fixed in
3.47.5, 4.8.3, 2.33.3, 3.2.14, 6.39.3, 7.2.4, 5.125.10, 6.7.5, 5.61.6, 6.4.3, 1.17.21, 2.0.16, 2.17.11, 3.0.18, 1.13.29, 2.2.5, 2.19.36, 3.2.2, 2.4.13, 3.1.4, 0.29.11, 1.1.4, 2.9.15, 3.1.15, 2.6.31, 3.1.16, 1.7.79, 2.1.6, 0.1.16
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
7.6 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: Low
  • User interaction: None
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.43% chance of exploitation in 30 days (percentile 29, 2026-11-26)
CWE
CWE-754, CWE-863
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
npm @clerk/shared>= 3.0.0, < 3.47.53.47.5, 4.8.3osv
npm @clerk/backend>= 2.0.0, < 2.33.32.33.3, 3.2.14osv
npm @clerk/nextjs>= 6.0.0, < 6.39.36.39.3, 7.2.4osv
npm @clerk/clerk-js>= 5.22.0, < 5.125.105.125.10, 6.7.5osv
npm @clerk/clerk-react>= 5.9.0, < 5.61.65.61.6osv
npm @clerk/react>= 6.0.0, < 6.4.36.4.3osv
npm @clerk/vue>= 1.0.0, < 1.17.211.17.21, 2.0.16osv
npm @clerk/astro>= 2.0.0, < 2.17.112.17.11, 3.0.18osv
npm @clerk/nuxt>= 1.0.0, < 1.13.291.13.29, 2.2.5osv
npm @clerk/clerk-expo>= 2.2.11, < 2.19.362.19.36osv
npm @clerk/expo>= 3.0.0, < 3.2.23.2.2osv
npm @clerk/react-router>= 0.0.1, < 2.4.132.4.13, 3.1.4osv
npm @clerk/tanstack-react-start>= 0.0.1, < 0.29.110.29.11, 1.1.4osv
npm @clerk/chrome-extension>= 1.3.5, < 2.9.152.9.15, 3.1.15osv
npm @clerk/fastify>= 1.0.42, < 2.6.312.6.31, 3.1.16osv
npm @clerk/express>= 0.1.0, < 1.7.791.7.79, 2.1.6osv
npm @clerk/hono>= 0.0.2, < 0.1.160.1.16osv
clerk javascript>= 5.22.0, < 5.125.10; >= 6.0.0, < 6.7.5—cvelist
@clerk shared>= 3.0.0, <= 3.47.4; >= 4.0.0, <= 4.8.2—cvelist
@clerk backend>= 2.0.0, <= 2.33.2; >= 3.0.0, <= 3.2.13—cvelist
@clerk nextjs>= 6.0.0, <= 6.39.2; >= 7.0.0, <= 7.2.3—cvelist
@clerk clerk-react>= 5.9.0, <= 5.61.5—cvelist
@clerk react>= 6.0.0, <= 6.4.2—cvelist
@clerk vue>= 1.0.0, <= 1.17.20; >= 2.0.0, <= 2.0.15—cvelist
@clerk astro>= 2.0.0, <= 2.17.10; >= 3.0.0, <= 3.0.17—cvelist
@clerk nuxt>= 1.0.0, <= 1.13.28; >= 2.0.0, <= 2.2.4—cvelist
@clerk clerk-expo>= 2.2.11, <= 2.19.35—cvelist
@clerk expo>= 3.0.0, <= 3.2.1—cvelist
@clerk react-router>= 0.0.1, <= 2.4.12; >= 3.0.0, <= 3.1.3—cvelist
@clerk tanstack-react-start>= 0.0.1, <= 0.29.10; >= 1.0.0, <= 1.1.3—cvelist
@clerk chrome-extension>= 1.3.5, <= 2.9.14; >= 3.0.0, <= 3.1.14—cvelist
@clerk fastify>= 1.0.42, <= 2.6.30; >= 3.0.0, <= 3.1.15—cvelist
@clerk express>= 0.1.0, <= 1.7.78; >= 2.0.0, <= 2.1.5—cvelist
@clerk hono>= 0.0.2, <= 0.1.15—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-42349. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-42349.md
Affected: @clerk/shared >= 3.0.0, < 3.47.5; @clerk/backend >= 2.0.0, < 2.33.3; @clerk/nextjs >= 6.0.0, < 6.39.3; @clerk/clerk-js >= 5.22.0, < 5.125.10; @clerk/clerk-react >= 5.9.0, < 5.61.6; @clerk/react >= 6.0.0, < 6.4.3; @clerk/vue >= 1.0.0, < 1.17.21; @clerk/astro >= 2.0.0, < 2.17.11; @clerk/nuxt >= 1.0.0…
Fixed in: 3.47.5, 4.8.3, 2.33.3, 3.2.14, 6.39.3, 7.2.4, 5.125.10, 6.7.5, 5.61.6, 6.4.3, 1.17.21, 2.0.16, 2.17.11, 3.0.18, 1.13.29, 2.2.5, 2.19.36, 3.2.2, 2.4.13, 3.1.4, 0.29.11, 1.1.4, 2.9.15, 3.1.15, 2.6.31, 3.1.16, 1.7.79, 2.1.6, 0.1.16

Steps:
1. Search this machine and project for @clerk/shared (npm), @clerk/backend (npm), @clerk/nextjs (npm), @clerk/clerk-js (npm), @clerk/clerk-react (npm), @clerk/react (npm): dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-42349 being exploited?

There is no confirmed exploitation: CVE-2026-42349 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.43% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-42349?

High: CVSS 7.6 (v4.0, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2026-42349?

@clerk/shared >= 3.0.0, < 3.47.5; @clerk/backend >= 2.0.0, < 2.33.3; @clerk/nextjs >= 6.0.0, < 6.39.3; @clerk/clerk-js >= 5.22.0, < 5.125.10; @clerk/clerk-react >= 5.9.0, < 5.61.6; @clerk/react >= 6.0.0, < 6.4.3; @clerk/vue >= 1.0.0, < 1.17.21; @clerk/astro >= 2.0.0, < 2.17.11; @clerk/nuxt >= 1.0.0, < 1.13.29; @clerk/clerk-expo >= 2.2.11, < 2.19.36; @clerk/expo >= 3.0.0, < 3.2.2; @clerk/react-router >= 0.0.1, < 2.4.13; @clerk/tanstack-react-start >= 0.0.1, < 0.29.11; @clerk/chrome-extension >= 1.3.5, < 2.9.15; @clerk/fastify >= 1.0.42, < 2.6.31; @clerk/express >= 0.1.0, < 1.7.79; @clerk/hono >= 0.0.2, < 0.1.16.

Is there a fix for CVE-2026-42349?

Yes. Fixed in 3.47.5, 4.8.3, 2.33.3, 3.2.14, 6.39.3, 7.2.4, 5.125.10, 6.7.5, 5.61.6, 6.4.3, 1.17.21, 2.0.16, 2.17.11, 3.0.18, 1.13.29, 2.2.5, 2.19.36, 3.2.2, 2.4.13, 3.1.4, 0.29.11, 1.1.4, 2.9.15, 3.1.15, 2.6.31, 3.1.16, 1.7.79, 2.1.6, 0.1.16. Upgrade @clerk/shared to one of 3.47.5, 4.8.3 (or later in the same release line). Upgrade @clerk/backend to one of 2.33.3, 3.2.14 (or later in the same release line). Upgrade @clerk/nextjs to one of 6.39.3, 7.2.4 (or later in the same release line). Upgrade @clerk/clerk-js to one of 5.125.10, 6.7.5 (or later in the same release line). Upgrade @clerk/clerk-react to 5.61.6 or later. Upgrade @clerk/react to 6.4.3 or later. Upgrade @clerk/vue to one of 1.17.21, 2.0.16 (or later in the same release line). Upgrade @clerk/astro to one of 2.17.11, 3.0.18 (or later in the same release line).

How do I check if I'm affected by CVE-2026-42349?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors