CVE-2026-80192: Improper Authentication in better-auth sso
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.
CVSS v4.0
Score 8.6high
Affected software
better-auth
sso
better-auth
sso
better-auth
sso
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in better-auth sso before 1.6.27 (and specified earlier versions) consists of two domain-ownership flaws. First, if domain verification is disabled, an authenticated organization owner or administrator can register an SSO provider for any domain, causing users with matching email domains to be added to the attacker's organization with default member permissions. Second, when domain verification is enabled, a race condition between the verify-domain and update-provider endpoints can cause completed DNS proof to be applied to a different domain. This, combined with implicit account linking, allows an attacker-controlled identity provider to be linked to an existing user account. Exploitation requires the sso plugin and, for the organization assignment path, the organization plugin with relevant configurations enabled. The vulnerability has a CVSS 4.0 score of 8.6 (high severity). The product is cloud-hosted, and the vendor manages remediation.
Potential Impact
Successful exploitation can allow an attacker with authenticated organization owner or administrator privileges to register SSO providers for arbitrary domains, thereby adding users with matching email domains to the attacker's organization with default member permissions. Additionally, the race condition flaw can enable linking an attacker-controlled identity provider to an existing user account, potentially compromising account integrity and access control within the affected environment.
Mitigation Recommendations
The vendor manages remediation for this cloud-hosted service. A patch is available for affected versions. Users should ensure they are running versions 1.6.27 or later (or the corresponding fixed versions in the 1.4.x and 1.7 prerelease lines). Verify that domain verification is enabled and properly configured to prevent exploitation of these flaws. Check the vendor advisory for the latest remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-25T23:14:37.730Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Is Cloud Service
- true
Threat ID: 6a8e23c2acd9273b49d60c58
Added to database: 08/25/2026, 23:22:42 UTC
Last enriched: 09/09/2026, 20:22:54 UTC
Last updated: 10/08/2026, 18:48:49 UTC
Views: 69
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.