- Home
- Vulnerabilities
- CVE-2026-67330
CVE-2026-67330
better-auth SCIM 1.4.0-beta.27 before 1.6.22 Account Takeover via Provider-ID Collision
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))
npm (2 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| @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
- — CVE published (cve)
CERT-FR advisories
- GHSA-rjg6-39jm-rgg4 — @better-auth/scim: account takeover and stale access via SCIM provider-id collision 24 Jul 2026
References
- https://github.com/better-auth/better-auth/security/advisories/GHSA-rjg6-39jm-rgg4vendor-advisory
- https://www.vulncheck.com/advisories/better-auth-scim-beta-27-through-account-takeover-via-provider-id-collisionthird-party-advisory
- https://github.com/better-auth/better-auth/pull/10242WEB
- https://github.com/better-auth/better-auth/commit/7c126dcd1aad24468ec37e876545c1d083d8accaWEB
- https://github.com/better-auth/better-authPACKAGE
- https://github.com/better-auth/better-auth/releases/tag/v1.6.22WEB
- https://github.com/better-auth/better-auth/releases/tag/v1.7.0-beta.10WEB
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)