Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify app using OAuth Proxy with shared secret
-
DeliveryForge encrypted state with victim's verified email
-
ExploitSubmit forged profile to proxy sign-in flow
-
ExecutionTrigger implicit account linking as victim
-
ImpactFull 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. |
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'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
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
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
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
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.
Primary rating from Vendor (vulncheck).
CVSS VectorVendor: vulncheck
Lifecycle Timeline
2DescriptionCVE.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
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.
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.
More in Better Auth
View allBetter Auth is an authentication library for TypeScript. Rated high severity (CVSS 7.9), this vulnerability is remotely
Authorization bypass in the @better-auth/oauth-provider plugin for Better Auth (versions >= 1.4.8-beta.7 and < 1.6.5, pl
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
Authentication bypass in Better Auth before 1.6.11 stems from insecure cryptographic defaults in the legacy oidcProvider
Denial of service in Better Auth (npm) before 1.4.2 lets an unauthenticated remote attacker poison the router's base pat
Path normalization bypass in Better Auth before v1.4.5 allows unauthenticated remote attackers to circumvent `disabledPa
Authorization bypass in @better-auth/scim versions 1.5.0 through 1.7.0-beta.3 allows any authenticated user to fully tak
Pre-account hijacking in better-auth (npm) allows a remote attacker to gain persistent, password-based access to any vic
Multiple authentication bypass vulnerabilities in @better-auth/sso before version 1.6.21 enable low-privileged attackers
Two domain-ownership authentication bypass flaws in @better-auth/sso allow authenticated organization owners to compromi
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
Two-factor authentication bypass in better-auth (npm) before version 1.4.9 allows network-accessible attackers holding v
EUVD-2026-101747
GHSA-w232-44q8-h37x
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB