Description
Better Auth from 1.5.0-beta.12 before 1.7.7 contains an authentication bypass vulnerability in the OAuth Proxy plugin that allows unauthenticated attackers to sign in as other users by forging encrypted profiles. When the proxy shares the global secret and cookie-stored state is used, attackers can obtain encrypted state for a fake profile with a victim's verified email to take over the account via implicit linking.
Published: 2026-10-14
Score: 9.1 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Authentication Bypass allowing account takeover
Action: Patch Now
AI Analysis

Impact

A flaw in Better Auth’s OAuth Proxy plugin lets an attacker forge encrypted user profiles and bypass normal authentication flows. By crafting an encrypted profile that carries a victim’s verified email address, the attacker can be treated as that victim during implicit account linking, thereby gaining full access to the victim’s account. The vulnerability is classed as CWE‑287 and permits unauthenticated remote users to log in as arbitrary accounts.

Affected Systems

The issue affects Better Auth 1.5.0‑beta.12 up through 1.7.6 inclusive. Any installation using the OAuth Proxy plugin in those versions is vulnerable. Proper upgrades to 1.7.7 or later remove the flaw.

Risk and Exploitability

The CVSS score of 9.1 indicates critical severity and the attack can be carried out without authentication by submitting a crafted request to the OAuth Proxy endpoint. EPSS is not available, and the vulnerability is not yet in the CISA KEV catalog, but the high CVSS and the nature of the flaw mean that exploitation is likely if an attacker can manipulate the shared secret or obtain encrypted cookie state. The attack vector is a remote, unauthenticated request to the OAuth Proxy plugin that exploits improper handling of encrypted profile data.

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

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Better Auth to version 1.7.7 or later.
  • If upgrading is not feasible immediately, disable the OAuth Proxy plugin or remove it from the deployment.
  • Review configuration to ensure the global secret is not shared across services and that cookie‑stored state is only used by the intended domain, preventing cloned session data from being accepted by the proxy.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 15 Oct 2026 16: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 from 1.5.0-beta.12 before 1.7.7 contains an authentication bypass vulnerability in the OAuth Proxy plugin that allows unauthenticated attackers to sign in as other users by forging encrypted profiles. When the proxy shares the global secret and cookie-stored state is used, attackers can obtain encrypted state for a fake profile with a victim's verified email to take over the account via implicit linking.
Title Better Auth 1.5.0-beta.12 before 1.7.7 Authentication Bypass via OAuth Proxy
First Time appeared Better-auth
Better-auth better Auth
Weaknesses CWE-287
CPEs cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:*:*:*
Vendors & Products Better-auth
Better-auth better Auth
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 9.1, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Better-auth Better Auth
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-15T15:36:16.330Z

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

Link: CVE-2026-110864

cve-icon Vulnrichment

Updated: 2026-10-15T15:36:12.403Z

cve-icon NVD

Status : Deferred

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

Modified: 2026-10-16T18:25:45.343

Link: CVE-2026-110864

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T15:15:14Z

Weaknesses