Skip to main content

Better Auth EUVDEUVD-2026-101747

| CVE-2026-110864 CRITICAL
Improper Authentication (CWE-287)
2026-10-14 disclosure@vulncheck.com GHSA-w232-44q8-h37x
9.1
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify app using OAuth Proxy with shared secret
  2. Delivery
    Forge encrypted state with victim's verified email
  3. Exploit
    Submit forged profile to proxy sign-in flow
  4. Execution
    Trigger implicit account linking as victim
  5. Impact
    Full account takeover

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

Exploitation requires the application to use Better Auth's OAuth Proxy plugin configured with a shared global secret AND cookie-stored OAuth state - this is the exact condition under which an attacker can obtain/forge an encrypted state blob for a fake profile. The forged profile must carry a victim's verified email so that the implicit account-linking path links the attacker's sign-in to the victim's account. Limiting factors: this is not the default for all deployments (the plugin is optional and the shared-secret/cookie-state mode must be in use), and the vendor rated attack complexity high with a present attack requirement (AC:H/AT:P), reflecting the non-trivial, configuration-dependent nature; no victim interaction or attacker authentication is required (PR:N/UI:N). Not vulnerable: installs on 1.7.7 or later, or those not using the OAuth Proxy plugin in the affected configuration.

Impact

This is a genuine high-priority issue, not merely a high-CVSS-but-low-real-risk flaw. The vendor-supplied CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H) describes a remotely reachable, unauthenticated (PR:N) authentication bypass yielding full account takeover with high confidentiality and integrity impact - among the most serious outcomes for an auth framework. The tempering signals are AC:H and AT:P: exploitation is not trivial or sprayable because it depends on a specific deployment configuration (shared global secret plus cookie-stored OAuth state) rather than affecting every default install. No EPSS score, CISA KEV listing, or public POC was provided in the input, so there is no evidence of active or automated exploitation at this time; the realistic risk is targeted account takeover against the subset of Better Auth deployments using the OAuth Proxy plugin in the vulnerable configuration. In short, high technical severity confirmed by the vendor/NVD advisory, but exploitation is conditional and exploitation-in-the-wild is unconfirmed - treat as urgent-to-patch for affected configurations while noting the attack-requirement caveat.

Exploit ScenarioDerived

An attacker targeting an application that deploys Better Auth's OAuth Proxy plugin with a shared global secret and cookie-stored state crafts a forged encrypted state blob describing a fake OAuth profile carrying the victim's verified email address. Because the proxy trusts the shared-secret-encrypted profile, the application performs implicit account linking and signs the attacker in as the victim, resulting in full account takeover. No public exploit code was identified at time of analysis, so exploitation would require the attacker to reproduce the forging technique from the advisory.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 14, 2026

Authentication bypass in Better Auth's OAuth Proxy plugin (versions 1.5.0-beta.12 through 1.7.6) lets unauthenticated remote attackers sign in as arbitrary users by forging encrypted profile state when the plugin is deployed with a shared global secret and cookie-stored OAuth state, abusing implicit account linking against a victim's verified email to seize the account. The vendor rates the flaw 9.1 (CVSS 4.0) with high attack complexity and a present attack requirement because exploitation depends on that specific shared-secret/cookie-state configuration rather than a default install; no public exploit code has been identified at time of analysis and there is no CISA KEV entry. Priority risk is therefore concentrated on deployments that have enabled the OAuth Proxy plugin in that exact configuration; upgrading to 1.7.7 or later closes the bypass.

RemediationAI

Upgrade Better Auth to 1.7.7 or later - this is the vendor-released patched version for CVE-2026-110864; consult the GitHub advisory GHSA-r4xp-prcw-77qf for the official fix and release notes. If an immediate upgrade is not possible, the most direct compensating control is to disable the OAuth Proxy plugin until the patched version can be deployed, at the trade-off of losing any proxied OAuth callback functionality that depends on it. Alternatively, stop using the shared global secret in favor of a unique per-deployment secret and/or move OAuth state out of cookies into server-side storage; either change removes the forgery primitive, though a unique per-deployment secret can break multi-instance deployments that relied on the shared key, and server-side state may require additional storage and session-affinity planning. Because exploitation requires no authentication or user interaction but does depend on the specific shared-secret/cookie-state configuration, prioritize the upgrade on any deployment confirmed to be running the OAuth Proxy plugin that way, and monitor for anomalous implicit account-linking events against verified emails. The VulnCheck advisory at https://www.vulncheck.com/advisories/better-auth-1.5.0-beta.12-before-1.7.7-authentication-bypass-via-oauth-proxy provides additional context.

Affected VersionsENISA

better-auth 1.5.0-beta.12 <1.7.7

Affected Packages

euvd better_auth fix: 1.7.7

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

The flaw is CWE-287 (improper authentication) in Better Auth's OAuth Proxy plugin, which brokers OAuth callbacks on behalf of the application. In the affected configuration the plugin encrypts profile payloads with a shared global secret and keeps OAuth state in a cookie rather than server-side storage. Because the key is shared across deployments and the state is client-visible and client-controllable, an attacker can obtain a legitimately encrypted state blob for an attacker-controlled fake profile, attach a victim's verified email address to it, and let Better Auth's implicit account-linking logic bind the attacker's sign-in to the existing victim account. The declared attack precondition (AT:P) and high attack complexity (AC:H) reflect that the forgery only succeeds when both the shared global secret and cookie-backed state mode are in use; no authentication or user interaction is required (PR:N, UI:N), and the assessed impact is high confidentiality and integrity with no availability effect. No CPE strings were supplied with the available intelligence, so affected instances must be identified by package version and plugin configuration rather than CPE matching. Key sources are the GitHub security advisory GHSA-r4xp-prcw-77qf and the VulnCheck advisory.

Know when Better Auth gets its next vulnerability

  • 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

Vendor (vulncheck) PRIMARY 9.1 CRITICAL
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
vuln.today AI 7.4 HIGH

Remotely reachable unauthenticated bypass (AV:N/PR:N/UI:N) but dependent on a specific shared-secret/cookie-state configuration and state forging (AC:H); account takeover gives C:H/I:H, no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 15, 2026 - 02:16 EUVD
CVE Published
Oct 14, 2026 - 23:17 cve.org
CRITICAL 9.1

DescriptionCVE.org

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.

Technical POC Analysis

The bug is an authentication bypass in Better Auth's OAuth Proxy plugin, classified by the advisory as CWE-287 Improper Authentication and 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

Why It Matters

Better Auth's OAuth Proxy plugin (versions 1.5.0-beta.12 through 1.7.6) contains a critical authentication bypass that allows attackers to sign in as arbitrary users and seize accounts when deployed with a shared global secret and cookie-stored OAuth state. Organizations using this specific configuration are at risk of unauthorized access to user accounts, potentially leading to data breaches and loss of customer trust. Leadership should prioritize identifying and patching affected deployments immediately.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
popular open-source TypeScript auth library, but OAuth Proxy plugin is optional
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2024-56734 HIGH POC
7.9 Dec 30

Better Auth is an authentication library for TypeScript. Rated high severity (CVSS 7.9), this vulnerability is remotely

CVE-2026-41427 HIGH POC
7.1 Apr 24

Authorization bypass in the @better-auth/oauth-provider plugin for Better Auth (versions >= 1.4.8-beta.7 and < 1.6.5, pl

CVE-2026-67330 CRITICAL
9.4 Aug 01

Privilege-escalating account takeover in the @better-auth/scim plugin (versions 1.4.0-beta.27 through 1.6.21 and 1.7.0-b

CVE-2026-67336 CRITICAL
9.4 Aug 01

Authentication bypass in Better Auth before 1.6.11 stems from insecure cryptographic defaults in the legacy oidcProvider

CVE-2025-71401 CRITICAL
9.3 Aug 02

Denial of service in Better Auth (npm) before 1.4.2 lets an unauthenticated remote attacker poison the router's base pat

CVE-2025-71399 HIGH
8.8 Aug 02

Path normalization bypass in Better Auth before v1.4.5 allows unauthenticated remote attackers to circumvent `disabledPa

CVE-2026-67331 HIGH
8.7 Aug 01

Authorization bypass in @better-auth/scim versions 1.5.0 through 1.7.0-beta.3 allows any authenticated user to fully tak

CVE-2026-67327 HIGH
8.7 Aug 01

Pre-account hijacking in better-auth (npm) allows a remote attacker to gain persistent, password-based access to any vic

CVE-2026-67328 HIGH
8.6 Aug 01

Multiple authentication bypass vulnerabilities in @better-auth/sso before version 1.6.21 enable low-privileged attackers

CVE-2026-80192 HIGH
8.6 Aug 25

Two domain-ownership authentication bypass flaws in @better-auth/sso allow authenticated organization owners to compromi

CVE-2026-109346 HIGH
8.5 Oct 12

Better Auth versions 1.3.8-beta.3 to before 1.7.0-rc.3 with the deviceAuthorization plugin enabled are vulnerable to a U

CVE-2026-67337 HIGH
7.1 Aug 01

Two-factor authentication bypass in better-auth (npm) before version 1.4.9 allows network-accessible attackers holding v

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy