Vulnerabilities

CVE-2026-42349

High 8.1 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-05-11
Last modified
2026-10-26
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.2 % higher than 16 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Clerk Clerk/astro ≥ 2.0.0, < 2.17.11 Affected
Clerk Clerk/astro ≥ 3.0.0, < 3.0.18 Affected
Clerk Clerk/backend ≥ 2.0.0, < 2.33.3 Affected
Clerk Clerk/backend ≥ 3.0.0, < 3.2.14 Affected
Clerk Clerk/chrome-extension ≥ 1.3.5, < 2.9.15 Affected
Clerk Clerk/chrome-extension ≥ 3.0.0, < 3.1.15 Affected
Clerk Clerk/clerk-expo ≥ 2.2.11, < 2.19.36 Affected
Clerk Clerk/clerk-js ≥ 5.22.0, < 5.125.10 Affected
Clerk Clerk/clerk-js ≥ 6.0.0, < 6.7.5 Affected
Clerk Clerk/clerk-react ≥ 5.9.0, < 5.61.6 Affected
Clerk Clerk/expo ≥ 3.0.0, < 3.2.2 Affected
Clerk Clerk/express ≥ 0.1.0, < 1.7.79 Affected
Clerk Clerk/express ≥ 2.0.0, < 2.1.6 Affected
Clerk Clerk/fastify ≥ 1.0.42, < 2.6.31 Affected
Clerk Clerk/fastify ≥ 3.0.0, < 3.1.16 Affected
Clerk Clerk/hono ≥ 0.0.2, < 0.1.16 Affected
Clerk Clerk/nextjs ≥ 6.0.0, ≤ 6.39.3 Affected
Clerk Clerk/nextjs ≥ 7.0.0, < 7.2.4 Affected
Clerk Clerk/nuxt ≥ 1.0.0, < 1.13.29 Affected
Clerk Clerk/nuxt ≥ 2.0.0, < 2.2.5 Affected
Clerk Clerk/react ≥ 6.0.0, < 6.4.3 Affected
Clerk Clerk/react-router ≥ 0.0.1, < 2.4.13 Affected
Clerk Clerk/react-router ≥ 3.0.0, < 3.1.4 Affected
Clerk Clerk/shared ≥ 3.0.0, < 3.47.5 Affected
Clerk Clerk/shared ≥ 4.0.0, < 4.8.3 Affected
Clerk Clerk/tanstack-react-start ≥ 0.0.1, < 0.29.11 Affected
Clerk Clerk/tanstack-react-start ≥ 1.0.0, < 1.1.4 Affected
Clerk Clerk/vue ≥ 1.0.0, < 1.17.21 Affected
Clerk Clerk/vue ≥ 2.0.0, < 2.0.16 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities