Skip to main content
EPSS 0.4%top 72%

CVE-2026-80192: Improper Authentication in better-auth sso

0
High
Published: 08/25/2026 (08/25/2026, 23:19:00 UTC)
Source: CVE Database V5
Vendor/Project: better-auth
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Affected software

better-auth

sso

Affected versions
>=1.4.8-beta.1 <1.4.8

better-auth

sso

Affected versions
>=1.4.9 <1.6.27

better-auth

sso

Affected versions
>=1.7.0-beta.0 <1.7.0-rc.5

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/09/2026, 20:22:54 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses