CVE-2026-134312 Better Auth 0.4.9 before 1.7.16 OAuth Unverified Email Account Takeover

Published Updated

Attackers with a victim's unverified email address can sign in as that victim via Better Auth OAuth sign-in; apps using it should care.

CVSS score

High

7.4/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
1.8.0-beta.5, 1.7.16
Attack path
Over the internet
Admin access, no user action

What is CVE-2026-134312?

CVE-2026-134312 is a high-severity authentication bypass vulnerability in better-auth, published on 21 Nov 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Better Auth 0.4.9 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains an OAuth sign-in authentication flaw that treats unverified provider emails as verified, including string "false" email_verified claims, unchecked generic OAuth profile/ID-token subject mismatches, and ignored Zoom provider options. Attackers holding a victim's address unverified at an affected provider can sign in, link to the victim's local account, and obtain its session.

Weakness: CWE-287

How severe is CVE-2026-134312?

CVE-2026-134312 scores 7.4 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
High
Attack requirements
Present
Privileges required
High
User interaction
None
Confidentiality
High
Integrity
High
Availability
None

CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-134312?

2 open source packages ship an affected version, including better-auth.

An affected version is only exploitable if your software uses the vulnerable function or option. Many projects that include it are not exposed.

PackageAffectedFixed in
better-auth npm
pkg:npm/better-auth
From 0.4.91.7.16
better-auth npm
pkg:npm/better-auth
From 1.8.0-beta.01.8.0-beta.5

How do I fix CVE-2026-134312?

Upgrade better-auth to a fixed version for your release line: 1.8.0-beta.5 or 1.7.16.

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2026-134312 being exploited?

There is no known exploitation of CVE-2026-134312 in the wild and no public exploit code.

Sources

Also known as GHSA-9hm7-xhfp-cx58, GHSA-h829-wmmj-f5q9.

Is CVE-2026-134312 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free