CVE
CVE-2026-67330
better-auth SCIM 1.4.0-beta.27 before 1.6.22 Account Takeover via Provider-ID Collision
Severity
Critical
Base CVSS
0.0
Fixed in
ba52913eed6e7210808511752bf546981f6980f5
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).
Severity scores
Source
Severity
Base score
CVSS version
Score vector
NVD
Critical
9.4
4.0
CVSS:4.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
OSV
0
Endor Labs
Required action
Known ransomware campaign use
References
https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67330.json, https://github.com/better-auth/better-auth/security/advisories/GHSA-rjg6-39jm-rgg4, https://nvd.nist.gov/vuln/detail/CVE-2026-67330, https://www.vulncheck.com/advisories/better-auth-scim-beta-27-through-account-takeover-via-provider-id-collision
Basic information
Base CVSS
0.0
EPSS probability
0.0
EPSS percentile
0.30814
Introduced version
c8cf0f7c1a26ac70504a76f47d736c56cb029320
Fix available
ba52913eed6e7210808511752bf546981f6980f5
Endor Patches
Fix critical vulnerabilities instantly
Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.
Fix without upgradingGet a demo of Endor Labs today.