<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Better-Auth (&gt;= 1.3.8-Beta.3, &lt; 1.7.0-Rc.3) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/better-auth--1.3.8-beta.3--1.7.0-rc.3/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 27 Oct 2026 17:53:49 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/better-auth--1.3.8-beta.3--1.7.0-rc.3/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Better Auth: OAuth state-to-Magic Link authentication bypass (CVE-2026-114607)</title><link>https://feed.craftedsignal.io/briefs/2026-10-better-auth-oauth-magic-link-bypass/</link><pubDate>Tue, 27 Oct 2026 17:53:49 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-better-auth-oauth-magic-link-bypass/</guid><description>Better Auth is vulnerable to an authentication bypass where OAuth sign-in state can be used as a valid Magic Link token, allowing unauthenticated attackers to hijack user accounts or create unauthorized verified accounts.</description><content:encoded><![CDATA[<p>Better Auth versions 1.4.0-beta.18 through 1.7.6 are vulnerable to an authentication bypass (CVE-2026-114607). The library incorrectly allows an OAuth sign-in state value to be accepted as a valid Magic Link token. An attacker can initiate an OAuth flow for a specific target email address, obtain the resulting state identifier, and submit it to the Magic Link endpoint to complete authentication as that user. This vulnerability persists if specific configurations regarding <code>storeToken</code> and <code>storeIdentifier</code> strategies are in use.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker initiates an OAuth sign-in flow through Better Auth for a target email address.</li>
<li>The application generates an OAuth state value to track this session.</li>
<li>The attacker intercepts or extracts the OAuth state value associated with the target email address.</li>
<li>The attacker submits the stolen OAuth state value to the Magic Link authentication endpoint.</li>
<li>Better Auth erroneously treats the OAuth state value as a valid Magic Link token.</li>
<li>The system grants the attacker a session associated with the target email address.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows an unauthenticated attacker to gain full access to any existing user account if the email address is known, bypassing the need for mailbox access. If Magic Link sign-up is enabled for a non-existent email address, the attacker can create an account that the system incorrectly marks as email-verified, which can be leveraged to bypass secondary security controls or access gated application features.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade <code>better-auth</code> to version 1.7.7 or later as soon as it is released.</li>
<li>Until the update is applied, prioritize switching <code>account.storeStateStrategy</code> to <code>&quot;cookie&quot;</code> if feasible, or disable the vulnerable combinations of Magic Link and social/Generic OAuth providers.</li>
<li>Ensure all internal Better Auth plugins, adapters, and integrations are updated in synchronization with the core library to ensure consistent verification logic.</li>
<li>Review and update custom <code>verification.storeIdentifier.overrides</code> to include the <code>magic-link:</code> and <code>auth-state:</code> prefixes as required by the upcoming security patch.</li>
</ul>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category><category>authentication-bypass</category><category>web-vulnerability</category><category>cloud</category><category>account-takeover</category><category>authentication</category><category>oauth</category><category>phishing</category><category>session-hijacking</category></item></channel></rss>