CVE-2026-67330
better-auth SCIM 1.4.0-beta.27 through 1.6.21 Account Takeover via Provider-ID Collision
Description
@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).
INFO
Published Date :
Aug. 1, 2026, 1:17 p.m.
Last Modified :
Oct. 23, 2026, 11:10 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | CRITICAL | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 3.1 | CRITICAL | [email protected] | ||||
| CVSS 3.1 | CRITICAL | MITRE-CVE | ||||
| CVSS 4.0 | CRITICAL | 83251b91-4cc7-4094-a5c7-464a1b83ea10 | ||||
| CVSS 4.0 | CRITICAL | [email protected] |
Solution
- Update @better-auth/scim to version 1.6.22 or later.
- Update @better-auth/scim to version 1.7.0-beta.10 or later.
- Apply vendor patches to fix the SCIM token issuance logic.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-67330.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-67330 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-67330
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-67330 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-67330 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Translated by [email protected]
Oct. 23, 2026
Action Type Old Value New Value Added Translation Title: scim de better-auth, Description: Las versiones de @better-auth/scim (un plugin de better-auth) >= 1.4.0-beta.27 hasta menor o igual que 1.6.21 y >= 1.7.0-beta.0 hasta menor o igual que 1.7.0-beta.9 contienen un bypass de autorización. La emisión de tokens SCIM no rechazaba IDs de proveedor ya utilizados por proveedores de SSO, SAML, OIDC, OAuth genérico o cuentas sociales existentes, y el mismo ID de proveedor lógico se utilizaba tanto para la configuración del proveedor SCIM como para la propiedad de la cuenta. Un usuario autenticado podía acuñar un token SCIM cuyo ID de proveedor colisionaba con un espacio de nombres de proveedor existente, haciendo que las rutas de usuario SCIM resolvieran filas de cuentas que el token nunca aprovisionó. Esto permitía listar, leer, actualizar (incluyendo la reescritura de campos globales de perfil/correo electrónico sin verificaciones de unicidad), y eliminar cuentas de usuario y sesiones globales, lo que resultaba en la toma de control de cuentas (account takeover) y desaprovisionamiento no autorizado. Corregido en 1.6.22 y 1.7.0-beta.10 (1.7.0-rc.0). -
CVE Modified by [email protected]
Oct. 08, 2026
Action Type Old Value New Value Added Affected Affected value modified. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/67xxx/CVE-2026-67330.json">CVE-2026-67330</a> Added Reference https://github.com/better-auth/better-auth/security/advisories/GHSA-rjg6-39jm-rgg4 Added Reference https://www.vulncheck.com/advisories/better-auth-scim-beta-27-through-account-takeover-via-provider-id-collision Removed Reference https://github.com/better-auth/better-auth/security/advisories/GHSA-rjg6-39jm-rgg4 Removed Reference https://www.vulncheck.com/advisories/better-auth-scim-beta-27-through-account-takeover-via-provider-id-collision -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Aug. 03, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-67330', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-08-03T14:48:18.589429Z'} -
New CVE Received by [email protected]
Aug. 01, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'better-auth', 'product': 'scim', 'versions': [{'status': 'affected', 'version': '1.4.0-beta.27', 'lessThan': '*', 'versionType': 'semver'}], 'packageURL': 'pkg:npm/better-auth/scim', 'defaultStatus': 'unaffected'}, {'vendor': 'better-auth', 'product': 'scim', 'versions': [{'status': 'affected', 'version': '1.7.0-beta.0', 'lessThan': '*', 'versionType': 'semver'}], 'packageURL': 'pkg:npm/better-auth/scim', 'defaultStatus': 'unaffected'}] Added Description @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). Added CVSS V4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H Added CWE CWE-20 Added Reference https://github.com/better-auth/better-auth/security/advisories/GHSA-rjg6-39jm-rgg4 Added Reference https://www.vulncheck.com/advisories/better-auth-scim-beta-27-through-account-takeover-via-provider-id-collision