CVE-2026-42349 Clerk: Authorization bypass when combining organization, billing, or reverification checks
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
51 packages: 34 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| clerk @clerk/clerk-js(npm) | >= 5.22.0, < 5.125.10; >= 5.22.0, <= 5.125.9; >= 6.0.0, < 6.7.5; >= 6.0.0, <= 6.7.4 | 5.125.10, 6.7.5 | Fixed |
| clerk astro(npm) | >= 2.0.0, < 2.17.11; >= 2.0.0, <= 2.17.10; >= 3.0.0, < 3.0.18; >= 3.0.0, <= 3.0.17 | 2.17.11, 3.0.18 | Fixed |
| clerk backend(npm) | >= 2.0.0, < 2.33.3; >= 2.0.0, <= 2.33.2; >= 3.0.0, < 3.2.14; >= 3.0.0, <= 3.2.13 | 2.33.3, 3.2.14 | Fixed |
| clerk chrome-extension(npm) | >= 1.3.5, < 2.9.15; >= 1.3.5, <= 2.9.14; >= 3.0.0, < 3.1.15; >= 3.0.0, <= 3.1.14 | 2.9.15, 3.1.15 | Fixed |
| clerk expo(npm) | >= 3.0.0, < 3.2.2; >= 3.0.0, <= 3.2.1 | 3.2.2 | Fixed |
| clerk express(npm) | >= 0.1.0, < 1.7.79; >= 0.1.0, <= 1.7.78; >= 2.0.0, < 2.1.6; >= 2.0.0, <= 2.1.5 | 1.7.79, 2.1.6 | Fixed |
| clerk fastify(npm) | >= 1.0.42, < 2.6.31; >= 1.0.42, <= 2.6.30; >= 3.0.0, < 3.1.16; >= 3.0.0, <= 3.1.15 | 2.6.31, 3.1.16 | Fixed |
| clerk hono(npm) | >= 0.0.2, < 0.1.16; >= 0.0.2, <= 0.1.15 | 0.1.16 | Fixed |
| clerk nextjs(npm) | >= 6.0.0, < 6.39.3; >= 6.0.0, <= 6.39.2; >= 7.0.0, < 7.2.4; >= 7.0.0, <= 7.2.3 | 6.39.3, 7.2.4 | Fixed |
| clerk nuxt(npm) | >= 1.0.0, < 1.13.29; >= 1.0.0, <= 1.13.28; >= 2.0.0, < 2.2.5; >= 2.0.0, <= 2.2.4 | 1.13.29, 2.2.5 | Fixed |
| clerk react(npm) | >= 6.0.0, < 6.4.3; >= 6.0.0, <= 6.4.2 | 6.4.3 | Fixed |
| clerk react-router(npm) | >= 0.0.1, < 2.4.13; >= 0.0.1, <= 2.4.12; >= 3.0.0, < 3.1.4; >= 3.0.0, <= 3.1.3 | 2.4.13, 3.1.4 | Fixed |
| clerk shared(npm) | >= 3.0.0, < 3.47.5; >= 3.0.0, <= 3.47.4; >= 4.0.0, < 4.8.3; >= 4.0.0, <= 4.8.2 | 3.47.5, 4.8.3 | Fixed |
| clerk tanstack-react-start(npm) | >= 0.0.1, < 0.29.11; >= 0.0.1, <= 0.29.10; >= 1.0.0, < 1.1.4; >= 1.0.0, <= 1.1.3 | 0.29.11, 1.1.4 | Fixed |
| clerk vue(npm) | >= 1.0.0, < 1.17.21; >= 1.0.0, <= 1.17.20; >= 2.0.0, < 2.0.16; >= 2.0.0, <= 2.0.15 | 1.17.21, 2.0.16 | Fixed |
| clerk-expo(npm) | >= 2.2.11, < 2.19.36; >= 2.2.11, <= 2.19.35 | 2.19.36 | Fixed |
| clerk-react(npm) | >= 5.9.0, < 5.61.6; >= 5.9.0, <= 5.61.5 | 5.61.6 | Fixed |
| clerkastro | >= 2.0.0, < 2.17.11; >= 3.0.0, < 3.0.18 | 2.17.11, 3.0.18 | Fixed |
| clerkbackend | >= 2.0.0, < 2.33.3; >= 3.0.0, < 3.2.14 | 2.33.3, 3.2.14 | Fixed |
| clerkchrome-extension | >= 1.3.5, < 2.9.15; >= 3.0.0, < 3.1.15 | 2.9.15, 3.1.15 | Fixed |
| clerkclerk-expo | >= 2.2.11, < 2.19.36 | 2.19.36 | Fixed |
| clerkclerk-js | >= 5.22.0, < 5.125.10; >= 6.0.0, < 6.7.5 | 5.125.10, 6.7.5 | Fixed |
| clerkclerk-react | >= 5.9.0, < 5.61.6 | 5.61.6 | Fixed |
| clerkexpo | >= 3.0.0, < 3.2.2 | 3.2.2 | Fixed |
| clerkexpress | >= 0.1.0, < 1.7.79; >= 2.0.0, < 2.1.6 | 1.7.79, 2.1.6 | Fixed |
| clerkfastify | >= 1.0.42, < 2.6.31; >= 3.0.0, < 3.1.16 | 2.6.31, 3.1.16 | Fixed |
| clerkhono | >= 0.0.2, < 0.1.16 | 0.1.16 | Fixed |
| clerknextjs | >= 6.0.0, <= 6.39.3; >= 7.0.0, < 7.2.4 | 7.2.4 | Fixed |
| clerknuxt | >= 1.0.0, < 1.13.29; >= 2.0.0, < 2.2.5 | 1.13.29, 2.2.5 | Fixed |
| clerkreact | >= 6.0.0, < 6.4.3 | 6.4.3 | Fixed |
… and 21 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| clerk javascript | = >= 5.22.0, < 5.125.10 | No fix listed |
| clerk javascript | = >= 6.0.0, < 6.7.5 | No fix listed |
| clerk shared | = >= 3.0.0, <= 3.47.4 | No fix listed |
| clerk shared | = >= 4.0.0, <= 4.8.2 | No fix listed |
| clerk backend | = >= 2.0.0, <= 2.33.2 | No fix listed |
| clerk backend | = >= 3.0.0, <= 3.2.13 | No fix listed |
| clerk nextjs | = >= 6.0.0, <= 6.39.2 | No fix listed |
| clerk nextjs | = >= 7.0.0, <= 7.2.3 | No fix listed |
| clerk-react | = >= 5.9.0, <= 5.61.5 | No fix listed |
| clerk react | = >= 6.0.0, <= 6.4.2 | No fix listed |
| clerk vue | = >= 1.0.0, <= 1.17.20 | No fix listed |
| clerk vue | = >= 2.0.0, <= 2.0.15 | No fix listed |
| clerk astro | = >= 2.0.0, <= 2.17.10 | No fix listed |
| clerk astro | = >= 3.0.0, <= 3.0.17 | No fix listed |
| clerk nuxt | = >= 1.0.0, <= 1.13.28 | No fix listed |
| clerk nuxt | = >= 2.0.0, <= 2.2.4 | No fix listed |
| clerk-expo | = >= 2.2.11, <= 2.19.35 | No fix listed |
| clerk expo | = >= 3.0.0, <= 3.2.1 | No fix listed |
| clerk react-router | = >= 0.0.1, <= 2.4.12 | No fix listed |
| clerk react-router | = >= 3.0.0, <= 3.1.3 | No fix listed |
| clerk tanstack-react-start | = >= 0.0.1, <= 0.29.10 | No fix listed |
| clerk tanstack-react-start | = >= 1.0.0, <= 1.1.3 | No fix listed |
| clerk chrome-extension | = >= 1.3.5, <= 2.9.14 | No fix listed |
| clerk chrome-extension | = >= 3.0.0, <= 3.1.14 | No fix listed |
| clerk fastify | = >= 1.0.42, <= 2.6.30 | No fix listed |
Show 91 more
| Product | Affected versions | Fixed in |
|---|---|---|
| clerk fastify | = >= 3.0.0, <= 3.1.15 | No fix listed |
| clerk express | = >= 0.1.0, <= 1.7.78 | No fix listed |
| clerk express | = >= 2.0.0, <= 2.1.5 | No fix listed |
| clerk hono | = >= 0.0.2, <= 0.1.15 | No fix listed |
| clerk shared(npm) | >= 3.0.0, <= 3.47.4 | No fix listed |
| clerk shared(npm) | >= 4.0.0, <= 4.8.2 | No fix listed |
| clerk backend(npm) | >= 2.0.0, <= 2.33.2 | No fix listed |
| clerk backend(npm) | >= 3.0.0, <= 3.2.13 | No fix listed |
| clerk nextjs(npm) | >= 6.0.0, <= 6.39.2 | No fix listed |
| clerk nextjs(npm) | >= 7.0.0, <= 7.2.3 | No fix listed |
| clerk @clerk/clerk-js(npm) | >= 5.22.0, <= 5.125.9 | No fix listed |
| clerk @clerk/clerk-js(npm) | >= 6.0.0, <= 6.7.4 | No fix listed |
| clerk-react(npm) | >= 5.9.0, <= 5.61.5 | No fix listed |
| clerk react(npm) | >= 6.0.0, <= 6.4.2 | No fix listed |
| clerk vue(npm) | >= 1.0.0, <= 1.17.20 | No fix listed |
| clerk vue(npm) | >= 2.0.0, <= 2.0.15 | No fix listed |
| clerk astro(npm) | >= 2.0.0, <= 2.17.10 | No fix listed |
| clerk astro(npm) | >= 3.0.0, <= 3.0.17 | No fix listed |
| clerk nuxt(npm) | >= 1.0.0, <= 1.13.28 | No fix listed |
| clerk nuxt(npm) | >= 2.0.0, <= 2.2.4 | No fix listed |
| clerk-expo(npm) | >= 2.2.11, <= 2.19.35 | No fix listed |
| clerk expo(npm) | >= 3.0.0, <= 3.2.1 | No fix listed |
| clerk react-router(npm) | >= 0.0.1, <= 2.4.12 | No fix listed |
| clerk react-router(npm) | >= 3.0.0, <= 3.1.3 | No fix listed |
| clerk tanstack-react-start(npm) | >= 0.0.1, <= 0.29.10 | No fix listed |
| clerk tanstack-react-start(npm) | >= 1.0.0, <= 1.1.3 | No fix listed |
| clerk chrome-extension(npm) | >= 1.3.5, <= 2.9.14 | No fix listed |
| clerk chrome-extension(npm) | >= 3.0.0, <= 3.1.14 | No fix listed |
| clerk fastify(npm) | >= 1.0.42, <= 2.6.30 | No fix listed |
| clerk fastify(npm) | >= 3.0.0, <= 3.1.15 | No fix listed |
| clerk express(npm) | >= 0.1.0, <= 1.7.78 | No fix listed |
| clerk express(npm) | >= 2.0.0, <= 2.1.5 | No fix listed |
| clerk hono(npm) | >= 0.0.2, <= 0.1.15 | No fix listed |
| clerkastro | >= 2.0.0, < 2.17.11 | 2.17.11 |
| clerkastro | >= 3.0.0, < 3.0.18 | 3.0.18 |
| clerkbackend | >= 2.0.0, < 2.33.3 | 2.33.3 |
| clerkbackend | >= 3.0.0, < 3.2.14 | 3.2.14 |
| clerkchrome-extension | >= 1.3.5, < 2.9.15 | 2.9.15 |
| clerkchrome-extension | >= 3.0.0, < 3.1.15 | 3.1.15 |
| clerkclerk-expo | >= 2.2.11, < 2.19.36 | 2.19.36 |
| clerkclerk-js | >= 5.22.0, < 5.125.10 | 5.125.10 |
| clerkclerk-js | >= 6.0.0, < 6.7.5 | 6.7.5 |
| clerkclerk-react | >= 5.9.0, < 5.61.6 | 5.61.6 |
| clerkexpo | >= 3.0.0, < 3.2.2 | 3.2.2 |
| clerkexpress | >= 0.1.0, < 1.7.79 | 1.7.79 |
| clerkexpress | >= 2.0.0, < 2.1.6 | 2.1.6 |
| clerkfastify | >= 1.0.42, < 2.6.31 | 2.6.31 |
| clerkfastify | >= 3.0.0, < 3.1.16 | 3.1.16 |
| clerkhono | >= 0.0.2, < 0.1.16 | 0.1.16 |
| clerknextjs | >= 6.0.0, <= 6.39.3 | No fix listed |
| clerknextjs | >= 7.0.0, < 7.2.4 | 7.2.4 |
| clerknuxt | >= 1.0.0, < 1.13.29 | 1.13.29 |
| clerknuxt | >= 2.0.0, < 2.2.5 | 2.2.5 |
| clerkreact | >= 6.0.0, < 6.4.3 | 6.4.3 |
| clerkreact-router | >= 0.0.1, < 2.4.13 | 2.4.13 |
| clerkreact-router | >= 3.0.0, < 3.1.4 | 3.1.4 |
| clerkshared | >= 3.0.0, < 3.47.5 | 3.47.5 |
| clerkshared | >= 4.0.0, < 4.8.3 | 4.8.3 |
| clerktanstack-react-start | >= 0.0.1, < 0.29.11 | 0.29.11 |
| clerktanstack-react-start | >= 1.0.0, < 1.1.4 | 1.1.4 |
| clerkvue | >= 1.0.0, < 1.17.21 | 1.17.21 |
| clerkvue | >= 2.0.0, < 2.0.16 | 2.0.16 |
| clerk shared(npm) | >= 3.0.0, < 3.47.5 | 3.47.5 |
| clerk shared(npm) | >= 4.0.0, < 4.8.3 | 4.8.3 |
| clerk backend(npm) | >= 2.0.0, < 2.33.3 | 2.33.3 |
| clerk backend(npm) | >= 3.0.0, < 3.2.14 | 3.2.14 |
| clerk nextjs(npm) | >= 6.0.0, < 6.39.3 | 6.39.3 |
| clerk nextjs(npm) | >= 7.0.0, < 7.2.4 | 7.2.4 |
| clerk @clerk/clerk-js(npm) | >= 5.22.0, < 5.125.10 | 5.125.10 |
| clerk @clerk/clerk-js(npm) | >= 6.0.0, < 6.7.5 | 6.7.5 |
| clerk-react(npm) | >= 5.9.0, < 5.61.6 | 5.61.6 |
| clerk react(npm) | >= 6.0.0, < 6.4.3 | 6.4.3 |
| clerk vue(npm) | >= 1.0.0, < 1.17.21 | 1.17.21 |
| clerk vue(npm) | >= 2.0.0, < 2.0.16 | 2.0.16 |
| clerk astro(npm) | >= 2.0.0, < 2.17.11 | 2.17.11 |
| clerk astro(npm) | >= 3.0.0, < 3.0.18 | 3.0.18 |
| clerk nuxt(npm) | >= 1.0.0, < 1.13.29 | 1.13.29 |
| clerk nuxt(npm) | >= 2.0.0, < 2.2.5 | 2.2.5 |
| clerk-expo(npm) | >= 2.2.11, < 2.19.36 | 2.19.36 |
| clerk expo(npm) | >= 3.0.0, < 3.2.2 | 3.2.2 |
| clerk react-router(npm) | >= 0.0.1, < 2.4.13 | 2.4.13 |
| clerk react-router(npm) | >= 3.0.0, < 3.1.4 | 3.1.4 |
| clerk tanstack-react-start(npm) | >= 0.0.1, < 0.29.11 | 0.29.11 |
| clerk tanstack-react-start(npm) | >= 1.0.0, < 1.1.4 | 1.1.4 |
| clerk chrome-extension(npm) | >= 1.3.5, < 2.9.15 | 2.9.15 |
| clerk chrome-extension(npm) | >= 3.0.0, < 3.1.15 | 3.1.15 |
| clerk fastify(npm) | >= 1.0.42, < 2.6.31 | 2.6.31 |
| clerk fastify(npm) | >= 3.0.0, < 3.1.16 | 3.1.16 |
| clerk express(npm) | >= 0.1.0, < 1.7.79 | 1.7.79 |
| clerk express(npm) | >= 2.0.0, < 2.1.6 | 2.1.6 |
| clerk hono(npm) | >= 0.0.2, < 0.1.16 | 0.1.16 |
References
- https://github.com/clerk/javascript/security/advisories/GHSA-w24r-5266-9c3c exploit mitigation vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product