{"cve":"CVE-2026-42349","nvd":{"published":"2026-05-11T17:16:33.147","modified":"2026-10-26T18:10:00.173","status":"Analyzed","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.","cvss_v4":{"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","score":7.6},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1},"cwes":["CWE-754","CWE-863"],"references":["https://github.com/clerk/javascript/security/advisories/GHSA-w24r-5266-9c3c","https://github.com/clerk/javascript/security/advisories/GHSA-w24r-5266-9c3c"],"products":["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"],"source":"nvd","synced_at":"2026-10-26T18:27:13.530666824+00:00"},"epss":{"cve":"CVE-2026-42349","score":0.00246,"percentile":0.15684,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-w24r-5266-9c3c","url":"https://osv.dev/vulnerability/GHSA-w24r-5266-9c3c","summary":"Clerk has an authorization bypass when combining organization, billing, or reverification checks","modified":"2026-09-10T03:51:03.672253114Z","packages":[{"ecosystem":"npm","name":"@clerk/shared","purl":"pkg:npm/%40clerk/shared","ranges":[">=3.0.0 <3.47.5"],"fixed":["3.47.5"]},{"ecosystem":"npm","name":"@clerk/shared","purl":"pkg:npm/%40clerk/shared","ranges":[">=4.0.0 <4.8.3"],"fixed":["4.8.3"]},{"ecosystem":"npm","name":"@clerk/backend","purl":"pkg:npm/%40clerk/backend","ranges":[">=2.0.0 <2.33.3"],"fixed":["2.33.3"]},{"ecosystem":"npm","name":"@clerk/backend","purl":"pkg:npm/%40clerk/backend","ranges":[">=3.0.0 <3.2.14"],"fixed":["3.2.14"]},{"ecosystem":"npm","name":"@clerk/nextjs","purl":"pkg:npm/%40clerk/nextjs","ranges":[">=6.0.0 <6.39.3"],"fixed":["6.39.3"]},{"ecosystem":"npm","name":"@clerk/nextjs","purl":"pkg:npm/%40clerk/nextjs","ranges":[">=7.0.0 <7.2.4"],"fixed":["7.2.4"]},{"ecosystem":"npm","name":"@clerk/clerk-js","purl":"pkg:npm/%40clerk/clerk-js","ranges":[">=5.22.0 <5.125.10"],"fixed":["5.125.10"]},{"ecosystem":"npm","name":"@clerk/clerk-js","purl":"pkg:npm/%40clerk/clerk-js","ranges":[">=6.0.0 <6.7.5"],"fixed":["6.7.5"]},{"ecosystem":"npm","name":"@clerk/clerk-react","purl":"pkg:npm/%40clerk/clerk-react","ranges":[">=5.9.0 <5.61.6"],"fixed":["5.61.6"]},{"ecosystem":"npm","name":"@clerk/react","purl":"pkg:npm/%40clerk/react","ranges":[">=6.0.0 <6.4.3"],"fixed":["6.4.3"]},{"ecosystem":"npm","name":"@clerk/vue","purl":"pkg:npm/%40clerk/vue","ranges":[">=1.0.0 <1.17.21"],"fixed":["1.17.21"]},{"ecosystem":"npm","name":"@clerk/vue","purl":"pkg:npm/%40clerk/vue","ranges":[">=2.0.0 <2.0.16"],"fixed":["2.0.16"]},{"ecosystem":"npm","name":"@clerk/astro","purl":"pkg:npm/%40clerk/astro","ranges":[">=2.0.0 <2.17.11"],"fixed":["2.17.11"]},{"ecosystem":"npm","name":"@clerk/astro","purl":"pkg:npm/%40clerk/astro","ranges":[">=3.0.0 <3.0.18"],"fixed":["3.0.18"]},{"ecosystem":"npm","name":"@clerk/nuxt","purl":"pkg:npm/%40clerk/nuxt","ranges":[">=1.0.0 <1.13.29"],"fixed":["1.13.29"]},{"ecosystem":"npm","name":"@clerk/nuxt","purl":"pkg:npm/%40clerk/nuxt","ranges":[">=2.0.0 <2.2.5"],"fixed":["2.2.5"]},{"ecosystem":"npm","name":"@clerk/clerk-expo","purl":"pkg:npm/%40clerk/clerk-expo","ranges":[">=2.2.11 <2.19.36"],"fixed":["2.19.36"]},{"ecosystem":"npm","name":"@clerk/expo","purl":"pkg:npm/%40clerk/expo","ranges":[">=3.0.0 <3.2.2"],"fixed":["3.2.2"]},{"ecosystem":"npm","name":"@clerk/react-router","purl":"pkg:npm/%40clerk/react-router","ranges":[">=0.0.1 <2.4.13"],"fixed":["2.4.13"]},{"ecosystem":"npm","name":"@clerk/react-router","purl":"pkg:npm/%40clerk/react-router","ranges":[">=3.0.0 <3.1.4"],"fixed":["3.1.4"]},{"ecosystem":"npm","name":"@clerk/tanstack-react-start","purl":"pkg:npm/%40clerk/tanstack-react-start","ranges":[">=0.0.1 <0.29.11"],"fixed":["0.29.11"]},{"ecosystem":"npm","name":"@clerk/tanstack-react-start","purl":"pkg:npm/%40clerk/tanstack-react-start","ranges":[">=1.0.0 <1.1.4"],"fixed":["1.1.4"]},{"ecosystem":"npm","name":"@clerk/chrome-extension","purl":"pkg:npm/%40clerk/chrome-extension","ranges":[">=1.3.5 <2.9.15"],"fixed":["2.9.15"]},{"ecosystem":"npm","name":"@clerk/chrome-extension","purl":"pkg:npm/%40clerk/chrome-extension","ranges":[">=3.0.0 <3.1.15"],"fixed":["3.1.15"]},{"ecosystem":"npm","name":"@clerk/fastify","purl":"pkg:npm/%40clerk/fastify","ranges":[">=1.0.42 <2.6.31"],"fixed":["2.6.31"]},{"ecosystem":"npm","name":"@clerk/fastify","purl":"pkg:npm/%40clerk/fastify","ranges":[">=3.0.0 <3.1.16"],"fixed":["3.1.16"]},{"ecosystem":"npm","name":"@clerk/express","purl":"pkg:npm/%40clerk/express","ranges":[">=0.1.0 <1.7.79"],"fixed":["1.7.79"]},{"ecosystem":"npm","name":"@clerk/express","purl":"pkg:npm/%40clerk/express","ranges":[">=2.0.0 <2.1.6"],"fixed":["2.1.6"]},{"ecosystem":"npm","name":"@clerk/hono","purl":"pkg:npm/%40clerk/hono","ranges":[">=0.0.2 <0.1.16"],"fixed":["0.1.16"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}