Broken access controlin @clerk javascript.
Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).
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 javascript to 5.125.10, 6.7.5 or later, whichever matches your release line.
- Upgrade @clerk/shared (npm) to 3.47.5, 4.8.3 or later, whichever matches your release line.
- Upgrade @clerk/backend (npm) to 2.33.3, 3.2.14 or later, whichever matches your release line.
- Upgrade @clerk/nextjs (npm) to 6.39.3, 7.2.4 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 26 Apr 2026CVE ID reserved by GitHub_M.
- 11 May 2026Published in the CVE List.
- 14 May 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other javascript vulnerabilities
Same weakness: Improper check for unusual conditions
- github.com x_refsource_CONFIRM
Patchminder. CVE-2026-42349: Broken access control in @clerk javascript. https://patchminder.com/cve/cve-2026-42349/ (accessed 5 December 2026).