Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege user
-
DeliveryRegister personal SSO provider copying issuer/entity ID
-
ExploitAssert victim subject or NameID
-
ExecutionAccount lookup ignores providerId, matches victim
-
ImpactSession minted for victim account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a valid authenticated (low-privilege) account on an application running @better-auth/sso between 1.7.0-rc.2 and 1.7.2 (before 1.7.3), AND the application must permit users to register their own "personal" SSO providers. The attacker must also know a victim's SSO subject identifier or SAML NameID and a legitimate provider's OIDC issuer URL or SAML entity ID to copy. Limiting factors: exploitation is impossible without an authenticated session (PR:L), is gated on the self-service/personal SSO-provider registration feature being enabled (non-default for some deployments), and depends on the vulnerable version range - applications that disable user-registerable providers or run 1.7.3+ are not exposed. |
| Impact | This is a genuine high-priority issue rather than a CVSS-inflated one. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H, score 8.6) describes a network-reachable, low-complexity attack requiring only a low-privilege authenticated account (PR:L) and no user interaction, yielding high confidentiality and integrity impact - consistent with full account takeover of arbitrary victim users. The description confirms a concrete logic flaw: account lookup ignores providerId, so an attacker who registers a personal SSO provider mimicking a legitimate provider's OIDC issuer/SAML entity ID can assert a victim's subject/NameID and have a session minted for that victim. No KEV listing and no EPSS score were provided, and no public exploit is referenced, so exploitation signals rest on vendor/VulnCheck disclosure rather than observed in-the-wild activity. The primary limiting factor is that exploitation presupposes an application that enables user-registerable ("personal") SSO providers, which narrows the real-world exposed population below what the raw score implies. Net: real priority for any deployment using the SSO plugin with self-service provider registration, but contingent on that configuration. |
| Exploit ScenarioDerived | An attacker holds a normal authenticated account on an application using @better-auth/sso. They register a personal SSO provider that copies a trusted provider's OIDC issuer (or SAML entity ID) and craft an assertion claiming the victim's subject/NameID; because account lookup ignores providerId, Better Auth matches and issues a session for the victim, granting full account takeover. No public exploit code is referenced, so this reflects the disclosed logic flaw rather than a confirmed in-the-wild technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 14, 2026
Authentication bypass in Better Auth SSO (@better-auth/sso) 1.7.0-rc.2 through 1.7.2 allows an authenticated low-privilege user to sign in as other users by registering a personal SSO provider that copies a legitimate provider's OIDC issuer or SAML entity ID and asserts a victim's subject or NameID; the account lookup ignores providerId, so the forged personal provider can create a session for the victim account. Exploitation requires a valid account and that the application permits user-registerable personal SSO providers, and no public exploit has been identified at time of analysis. The issue is fixed in 1.7.3; CVSS 8.6 reflects high confidentiality and integrity impact.
RemediationAI
Upgrade @better-auth/sso to 1.7.3 or later, which is the vendor-released fixed version. If immediate upgrade is not possible, disable or tightly restrict self-service personal SSO provider registration so untrusted users cannot create providers that copy a legitimate OIDC issuer or SAML entity ID; the trade-off is that users lose the ability to configure their own personal SSO. Additional compensating controls include requiring administrative approval or manual validation for any user-created SSO provider, blocking creation of providers whose issuer or entityID duplicates existing trusted providers, and monitoring for unexpected personal provider registrations or cross-account session creation. See the GitHub advisory (https://github.com/better-auth/better-auth/security/advisories/GHSA-mx9r-x6ww-qjw9) and VulnCheck advisory (https://www.vulncheck.com/advisories/better-auth-better-auth-sso-before-1.7.3-authentication-bypass-via-personal-sso-providers) for vendor guidance.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Better Auth's @better-auth/sso plugin supports OIDC and SAML SSO providers. The flaw is CWE-287 improper authentication: when resolving an SSO login, the account lookup uses the asserted subject or NameID but ignores providerId, so a user-created personal provider with the same issuer or entityID as a trusted provider can match a victim's account. This turns the personal provider feature into an account takeover primitive for any authenticated user who knows the victim's subject or NameID and a legitimate issuer or entityID. Affected versions are 1.7.0-rc.2 to before 1.7.3. The vulnerable code path is only exposed when personal SSO provider registration is enabled; the CVSS 3.1 assessment gives AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N, consistent with authenticated remote exploitation.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable logic flaw needing only a low-privilege authenticated account (PR:L) and no interaction; account takeover yields C:H/I:H, no availability impact, scope unchanged within the application.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
2DescriptionCVE.org
Better Auth @better-auth/sso from 1.7.0-rc.2 before 1.7.3 contains an authentication bypass vulnerability that allows authenticated users to sign in as other users by registering a personal SSO provider. Attackers can copy a legitimate provider's OIDC issuer or SAML entity ID and assert a victim's subject or NameID, because account lookup ignores providerId, creating sessions for victim accounts.
Technical POC Analysis
Bug class: CWE-287 (Improper Authentication); the advisory also lists CWE-345 (Insufficient Verification of Data Authenticity).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Better Auth SSO versions 1.7.0-rc.2 through 1.7.2 contain an authentication bypass that allows a user with a valid account to impersonate other users by registering a personal SSO provider that mimics a legitimate provider's OIDC issuer or SAML entity ID, potentially exposing sensitive data and compromising account integrity. The vulnerability requires the application to permit user-registerable personal SSO providers, and no public exploit has been identified at time of analysis. Leadership should prioritize remediation because successful exploitation could undermine identity trust and confidentiality across affected applications, with a vendor fix available in version 1.7.3.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-101746
GHSA-47gc-4jpf-3mgv
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB