CVE-2026-80192

better-auth SSO before 1.6.27 Domain Ownership Authentication Bypass

State
Published
Severity
8.6 High
Published
Aug 25, 2026
Updated
Oct 8, 2026
Reserved
Aug 25, 2026

Read the record on cve.org

Description

@better-auth/sso before 1.6.27 (and before 1.4.8 in the 1.4.x line and before 1.7.0-rc.5 in the 1.7 prerelease line) contains two domain-ownership flaws. When domain verification is disabled, automatic organization assignment accepts unverified provider domains, allowing an authenticated organization owner/administrator to register an SSO provider for an arbitrary domain and have users with matching email domains added to the attacker's organization with default member permissions. When domain verification is enabled, a race condition between the verify-domain and update-provider endpoints can apply completed DNS proof to a different domain; combined with implicit account linking, this can link an attacker-controlled identity provider to an existing user account. Exploitation requires the SSO plugin (and, for the org-assignment path, the organization plugin) with the relevant configuration enabled.

Scores

CVSSScoreVectorSource
4.08.6 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NVulnCheck
3.18.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NVulnCheck

Weaknesses

Affected Products

ProductVersions
ssobetter-auth
  • 1.4.8-beta.1 to before 1.4.8Affected
  • 1.4.8Not affected
ssobetter-auth
  • 1.4.9 to before 1.6.27Affected
  • 1.6.27Not affected
ssobetter-auth
  • 1.7.0-beta.0 to before 1.7.0-rc.5Affected
  • 1.7.0-rc.5Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.