CVE-2026-67330
CRITICAL 9.4CVSS 4.0better-auth SCIM 1.4.0-beta.27 before 1.6.22 Account Takeover via Provider-ID Collision
@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).
- Published
- 1 Aug 2026
- Last modified
- 20 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-20CWE-639CWE-862
- Also known as
- GHSA-rjg6-39jm-rgg4
- Sources
- NVDJSONCVE ListJSONOSV GHSA-rjg6-39jm-rgg4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | CRITICAL 9.4 | 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 |
| CVE List | VulnCheck | CVSS 4.0 | CRITICAL 9.4 | 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 |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| CVE List | VulnCheck | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | better-auth | scim | >= 1.4.0-beta.27, < 1.6.22 | 1.6.22 |
| CVE List | better-auth | scim | >= 1.7.0-beta.0, < 1.7.0-beta.10 | 1.7.0-beta.10 |
| OSV | npm | @better-auth/scim | >= 1.4.0-beta.27, < 1.6.22 | 1.6.22 |
| OSV | npm | @better-auth/scim | >= 1.7.0-beta.0, < 1.7.0-beta.10 | 1.7.0-beta.10 |
References
- https://github.com/better-auth/better-auth/security/advisories/GHSA-rjg6-39jm-rgg4 · vendor-advisory, WEB
- https://www.vulncheck.com/advisories/better-auth-scim-beta-27-through-account-takeover-via-provider-id-collision · third-party-advisory
- https://github.com/better-auth/better-auth/pull/10242 · WEB
- https://github.com/better-auth/better-auth/commit/7c126dcd1aad24468ec37e876545c1d083d8acca · WEB
- https://github.com/better-auth/better-auth · PACKAGE
- https://github.com/better-auth/better-auth/releases/tag/v1.6.22 · WEB
- https://github.com/better-auth/better-auth/releases/tag/v1.7.0-beta.10 · WEB
History
- 25 Nov 2026 20:32 UTC · CVE List: first stored (published 1 Aug 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Jul 2026)
- 25 Nov 2026 20:10 UTC · NVD: first stored (published 1 Aug 2026)