# CVE-2026-67327: better-auth before 1.6.22 Account Takeover via Magic-Link Email-OTP

- Severity: High 8.7 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 29% of CVEs (2026-11-30)
- Published: 2026-07-24T15:44:01.000Z
- Modified: 2026-09-08T20:34:34.997Z
- Also known as: GHSA-qq9h-g4jm-xgf3
- Weaknesses: CWE-287, CWE-345
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## Description

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.

(As written by CVE List.)

## Affected

- better-auth better-auth: from 1.1.3 before 1.6.22; from 1.7.0-beta.0 before 1.7.0-beta.10 (not affected: 1.6.22; 1.7.0-beta.10)
- better-auth (npm): from 1.1.3 before 1.6.22; from 1.7.0-beta.0 before 1.7.0-beta.10

## Every score

- VulnCheck: CVSS:4.0 8.7 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L`

## References

- <https://github.com/better-auth/better-auth/security/advisories/GHSA-qq9h-g4jm-xgf3> (vendor-advisory, web)
- <https://www.vulncheck.com/advisories/better-auth-before-account-takeover-via-magic-link-email-otp> (third-party-advisory)
- <https://github.com/better-auth/better-auth/pull/10239> (web)
- <https://github.com/better-auth/better-auth/commit/c06a56d83a40bbaeac12d3a8b8b67e59f92a9110> (web)
- <https://github.com/better-auth/better-auth> (package)
- <https://github.com/better-auth/better-auth/releases/tag/v1.6.22> (web)
- <https://github.com/better-auth/better-auth/releases/tag/v1.7.0-beta.10> (web)

## Sources

- CVE List: [CVE-2026-67327](https://www.cve.org/CVERecord?id=CVE-2026-67327), CVE Terms of Use, modified 2026-08-03
- GitHub Advisory Database: [GHSA-qq9h-g4jm-xgf3](https://github.com/advisories/GHSA-qq9h-g4jm-xgf3), CC-BY-4.0, modified 2026-08-02
- NVD: [CVE-2026-67327](https://nvd.nist.gov/vuln/detail/CVE-2026-67327), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-67327 · Whole record: https://cve.day/CVE-2026-67327.json · Rebuilt by cve.day 2026-11-25T22:59:30.790Z
