# CVE-2026-67330: better-auth SCIM 1.4.0-beta.27 before 1.6.22 Account Takeover via Provider-ID Collision

- Severity: Critical 9.4 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 43% of CVEs (2026-11-30)
- Published: 2026-07-24T15:40:54.000Z
- Modified: 2026-11-20T15:17:55.950Z
- Also known as: GHSA-rjg6-39jm-rgg4
- Weaknesses: CWE-20, CWE-639, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- better-auth scim: from 1.4.0-beta.27 before 1.6.22; from 1.7.0-beta.0 before 1.7.0-beta.10
- @better-auth/scim (npm): from 1.4.0-beta.27 before 1.6.22; from 1.7.0-beta.0 before 1.7.0-beta.10

## Every score

- VulnCheck: CVSS:4.0 9.4 Critical `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`
- VulnCheck: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`

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

## Sources

- CVE List: [CVE-2026-67330](https://www.cve.org/CVERecord?id=CVE-2026-67330), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-rjg6-39jm-rgg4](https://github.com/advisories/GHSA-rjg6-39jm-rgg4), CC-BY-4.0, modified 2026-10-20
- NVD: [CVE-2026-67330](https://nvd.nist.gov/vuln/detail/CVE-2026-67330), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-67330 · Whole record: https://cve.day/CVE-2026-67330.json · Rebuilt by cve.day 2026-11-25T22:59:30.791Z
