better-auth SSO before 1.6.27 Domain Ownership Authentication Bypass
@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.
CVE-2026-80192
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-80192
sso
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
sso
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
sso
Source reference: /containers/cna/affected/2/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"vendor": "better-auth",
"product": "sso",
"versions": [
{
"status": "affected",
"version": "1.4.8-beta.1",
"lessThan": "1.4.8",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "1.4.8",
"versionType": "semver"
}
],
"packageURL": "pkg:npm/%40better-auth/sso",
"defaultStatus": "unaffected"
},
{
"vendor": "better-auth",
"product": "sso",
"versions": [
{
"status": "affected",
"version": "1.4.9",
"lessThan": "1.6.27",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "1.6.27",
"versionType": "semver"
}
],
"packageURL": "pkg:npm/%40better-auth/sso",
"defaultStatus": "unaffected"
},
{
"vendor": "better-auth",
"product": "sso",
"versions": [
{
"status": "affected",
"version": "1.7.0-beta.0",
"lessThan": "1.7.0-rc.5",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "1.7.0-rc.5",
"versionType": "semver"
}
],
"packageURL": "pkg:npm/%40better-auth/sso",
"defaultStatus": "unaffected"
}
]- Related CVEs
- CVE-2026-80192
Source reference:
/cveMetadata/cveId
Publisher severity
high
Source reference: /containers/cna/metrics
- Event
- #12898 · Revision 1
- Added to Heist Feed
- Publisher date