CVE-2026-80192

High

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.

SeverityHigh
CVSS8.1
Exploit probability—
ProductBetter-auth Sso
PublishedAug 26, 2026
First seenAug 26, 2026

How to fix

Update
  • better-auth sso1.4.8, 1.6.27, 1.7.0-rc.5 or later

Affected products

ProductAffected versionsFixed in
better-auth sso1.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.51.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.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.