---
id: CVE-2026-67330
title: >-
  @better-auth/scim (a better-auth plugin) versions >= 1.4.0-beta.27 through <=
  1.6.21 and >= 1.7.0-beta.0 through <= 1.7.0-beta.9 contain an authorization
  bypass
summary: >-
  @better-auth/scim (a better-auth plugin) versions >= 1.4.0-beta.27 through <=
  1.6.21 and >= 1.7.0-beta.0 through <= 1.7.0-beta.9 contain an authorization
  bypass. SCIM token issuance did not reject provider IDs already used by
  existing SS…
severity: critical
cvss: 9.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'
cwe:
  - CWE-20
published: '2026-08-01'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:34:34.997'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-67330'
references:
  - url: >-
      https://github.com/better-auth/better-auth/security/advisories/GHSA-rjg6-39jm-rgg4
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/better-auth-scim-beta-27-through-account-takeover-via-provider-id-collision
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00598
epssPercentile: 0.46321
ingestedAt: '2026-08-02T07:18:02.437Z'
---

## Overview

@better-auth/scim (a better-auth plugin) versions >= 1.4.0-beta.27 through <= 1.6.21 and >= 1.7.0-beta.0 through <= 1.7.0-beta.9 contain an authorization bypass. SCIM token issuance did not reject provider IDs already used by existing SSO, SAML, OIDC, generic OAuth, or social account providers, and the same logical provider ID was used for both SCIM provider configuration and account ownership. An authenticated user could mint a SCIM token whose provider ID collided with an existing provider namespace, causing SCIM user routes to resolve account rows the token never provisioned. This allowed listing, reading, updating (including rewriting global profile/email fields without uniqueness checks), and deleting global user accounts and sessions, resulting in account takeover and unauthorized deprovisioning. Fixed in 1.6.22 and 1.7.0-beta.10 (1.7.0-rc.0).

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
