Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @clerk/fastify
  4. ›
  5. CVE-2026-42349

CVE-2026-42349: Clerk has an authorization bypass when combining organization, billing, or reverification checks

April 30, 2026

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.

Sessions are not compromised and no existing user can be impersonated. The bypass is limited to the authorization decision returned by the predicate. clerkMiddleware continues to authenticate requests correctly, auth() reflects the real authentication state, and token verification is unaffected.

References

  • github.com/advisories/GHSA-w24r-5266-9c3c
  • github.com/clerk/javascript
  • github.com/clerk/javascript/security/advisories/GHSA-w24r-5266-9c3c
  • nvd.nist.gov/vuln/detail/CVE-2026-42349

Code Behaviors & Features

Detect and mitigate CVE-2026-42349 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.0.42 before 2.6.31, all versions starting from 3.0.0 before 3.1.16

Fixed versions

  • 2.6.31
  • 3.1.16

Solution

Upgrade to versions 2.6.31, 3.1.16 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-754: Improper Check for Unusual or Exceptional Conditions
  • CWE-863: Incorrect Authorization

Source file

npm/@clerk/fastify/CVE-2026-42349.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:48 +0000.