1. Home
  2. Vulnerabilities
  3. CVE-2026-67330

CVE-2026-67330

better-auth SCIM 1.4.0-beta.27 before 1.6.22 Account Takeover via Provider-ID Collision

Published 1 Aug 2026 · modified 20 Nov 2026 · Sources: NVD, CNA (vendor or assigner), CERT-FR, EPSS (FIRST)

Medium 48/100

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 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).

Affected products and versions

Better-auth (2 line(s))
Better-auth
ProductVersionsFixed inSource
scim from 1.4.0-beta.27 (included) to 1.6.22 (excluded) — CNA (vendor or assigner)
scim from 1.7.0-beta.0 (included) to 1.7.0-beta.10 (excluded) — CNA (vendor or assigner)
npm (2 line(s))
npm
ProductVersionsFixed inSource
@better-auth/scim from 1.4.0-beta.27 (included) to 1.6.22 (excluded) 1.6.22 GitHub Advisory
@better-auth/scim from 1.7.0-beta.0 (included) to 1.7.0-beta.10 (excluded) 1.7.0-beta.10 GitHub Advisory

Fix

Upgrade — npm/@better-auth/scim 1.6.22; npm/@better-auth/scim 1.7.0-beta.10official source

Source : GitHub Advisory

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

CERT-FR advisories

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H (CVSS 3.1, CNA:disclosure@vulncheck.com)
Weakness
CWE-20 · Validation d'entrée (générique)

How this data is obtained and calculated