← Database

CVE-2026-42349

HIGH CVSS: 8.1 Published: 2026-05-11 Modified: 2026-06-17

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 Platforms

Clerk Clerk\/NextjsClerk Clerk\/NuxtClerk Clerk\/ExpressClerk Clerk\/HonoClerk Clerk\/FastifyClerk Clerk\/ReactClerk Clerk\/BackendClerk Clerk\/React-RouterClerk Clerk\/Chrome-ExtensionClerk Clerk\/Expo

Weakness Type

CWE-754, CWE-863

References