CVE-2026-80192
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.
How to fix
- better-auth sso1.4.8, 1.6.27, 1.7.0-rc.5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| better-auth sso | 1.4.8-beta.1 ≤ v < 1.4.8, 1.4.9 ≤ v < 1.6.27, 1.7.0-beta.0 ≤ v < 1.7.0-rc.5 | 1.4.8, 1.6.27, 1.7.0-rc.5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.