CVE-2026-67327: better-auth versions >= 1.1.3 and = 1.7.0-beta.0 and < 1.7.0-beta.10) are vulnerable to account takeover via pre-account hijacking on magic-link
better-auth versions >= 1.1.3 and < 1.6.22 (and pre-release versions >= 1.7.0-beta.0 and < 1.7.0-beta.10) are vulnerable to account takeover via pre-account hijacking on magic-link and email-OTP sign-in when open email/password registration is enabled. An attacker registers an account with the victim's email address and an attacker-chosen password; the account remains unverified. When the legitimate owner later signs in via the magic-link or email-OTP passwordless flow, the account is marked verified without removing the pre-existing password or revoking existing sessions, so the attacker's password remains valid, granting persistent access to the victim's account. Fixed in 1.6.22 and 1.7.0-beta.10.
Details
Original advisory: https://nvd.nist.gov/vuln/detail/CVE-2026-67327
Referenced CVEs
| CVE | CSIRTS overview | External |
|---|---|---|
| CVE-2026-67327 | coverage & exploitation status | NVD · CVE.org |
Recent advisories for better-auth
A cluster of recent advisories against the same product widens the attack surface — attackers routinely chain freshly published CVEs on one product, so review these together.
- mediumCVE-2026-67337: better-auth versions before 1.4.9 contain a two-factor authentication bypass vulnerability whe…nvd · 2026-08-01
- highCVE-2026-67336: better-auth versions before 1.6.11 contain insecure cryptographic defaults in the oidcProvider…nvd · 2026-08-01
- mediumCVE-2026-67335: better-auth versions before 1.6.2 fail to validate the OAuth state parameter against the store…nvd · 2026-08-01
- lowCVE-2026-67334: better-auth versions before 1.6.11 fail to delete cached sessions when removing users via admi…nvd · 2026-08-01
- highCVE-2026-67333: better-auth before 1.6.13 (and pre-release builds 1.7.0-beta.0 through 1.7.0-beta.3) fail to v…nvd · 2026-08-01
- mediumCVE-2026-67332: @better-auth/oauth-provider before 1.7.0-beta.4 fails to bind access-token audience to the aut…nvd · 2026-08-01
More from NVD Recent CVEs
- mediumCVE-2026-67355: guzzlehttp/guzzle versions before 7.15.1 fail to preserve host-only cookie scope, storing the …2026-08-01
- mediumCVE-2026-67354: guzzlehttp/guzzle versions before 7.15.1 contain an information disclosure vulnerability in Re…2026-08-01
- mediumCVE-2026-67353: guzzlehttp/guzzle versions before 7.15.1 contain a denial of service vulnerability in the Cook…2026-08-01
- highCVE-2026-67352: luci-app-https-dns-proxy contains a stored cross-site scripting vulnerability in the resolver_…2026-08-01
- mediumCVE-2026-67344: ArcadeDB before 26.7.2 fails to enforce the UPDATE_SCHEMA database permission on the ALTER TYP…2026-08-01