Description
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.
Published: 2026-10-14
Score: 8.6 High
EPSS: < 1% Very Low
KEV: No
Impact: Authentication Bypass
Action: Immediate Patch
AI Analysis

Impact

Better Auth @better-auth/sso contains an authentication failure flaw that lets an authenticated user create a personal SSO provider with a valid issuer or entity ID, and then assert a victim's subject or NameID. Because the account lookup process ignores the provider identifier, the system treats the forged assertion as a legitimate login and establishes a session for the victim account. This flaw allows the attacker to sign in as arbitrary users within the same application instance, effectively bypassing authentication constraints and enabling unauthorized access to user data.

Affected Systems

This vulnerability affects the better-auth sso component in all releases from 1.7.0‑rc.2 up to, but not including, 1.7.3. The affected product is Better Auth sso with versions earlier than 1.7.3.

Risk and Exploitability

The CVSS score of 8.6 indicates a High severity level, and the EPSS score is not available, though the lack of EPSS does not mean exploitation is impossible. The vulnerability is not currently listed in the CISA KEV catalog. An attacker would need to first authenticate to register the rogue SSO provider, then use the crafted provider to target a victim. Because a single authenticated session can be leveraged to impersonate any other user, the risk to integrity and confidentiality is significant if the application handles sensitive data. Organizations should treat this flaw as a critical risk until a fixed version is applied.

Generated by OpenCVE AI on October 15, 2026 at 12:23 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update better-auth/sso to version 1.7.3 or later to receive the vendor patch that validates provider identifiers during account lookup.
  • If upgrading is not immediately possible, disable the ability for users to register personal SSO providers or enforce that providerId is always checked against the issuer or entity ID.
  • Review and monitor authentication logs for repeated creation of personal SSO providers, and audit user sessions for unusual activity.

Generated by OpenCVE AI on October 15, 2026 at 12:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 16 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 14 Oct 2026 23:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Better Auth @better-auth/sso before 1.7.3 Authentication Bypass via Personal SSO Providers
First Time appeared Better-auth
Better-auth better-auth\/sso
Weaknesses CWE-287
CPEs cpe:2.3:a:better-auth:better-auth\/sso:*:*:*:*:*:*:*:*
Vendors & Products Better-auth
Better-auth better-auth\/sso
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.6, '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'}


Subscriptions

Better-auth Better-auth\/sso
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-16T17:14:33.345Z

Reserved: 2026-10-14T22:18:33.239Z

Link: CVE-2026-110863

cve-icon Vulnrichment

Updated: 2026-10-16T16:35:49.658Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-10-14T23:17:27.830

Modified: 2026-10-16T18:17:34.130

Link: CVE-2026-110863

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-24T02:45:17Z

Weaknesses