CVE-2026-134315
Deferred Deferred - Pending Action

Improper Authentication in better-auth Session Handling

Vulnerability report for CVE-2026-134315, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-21

Last updated on: 2026-11-21

Assigner: VulnCheck

Description

better-auth 1.4.0 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains an improper authentication vulnerability because email-change links record the old and new addresses but not the requesting user. Attackers can open a still-valid link issued for their own account after a victim registers the attacker's released old address, gaining a session and changing the victim's email to one they control.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-21
Last Modified
2026-11-21
Generated
2026-11-21
AI Q&A
2026-11-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 5 associated CPEs
Vendor Product Version / Range
better-auth better-auth to 1.7.16 (exc)
better-auth better-auth to 1.7.15 (inc)
better-auth better-auth to 1.8.0-beta.5 (exc)
better-auth better-auth to 1.8.0-beta.4 (inc)
better-auth better-auth to 1.7.16|start_excluding=1.8.0-beta.0|end_excluding=1.8.0-beta.5 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-287 When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in better-auth versions 1.4.0 to 1.7.15 and 1.8.0-beta.0 to 1.8.0-beta.4 allows attackers to take over accounts via email-change links. The links record old and new email addresses but not the requesting user, so if an attacker registers the old email while their link is valid, they can open the link to change the victim's email to one they control.

Detection Guidance

To detect this vulnerability, check if your better-auth instance is running a vulnerable version (1.4.0 to 1.7.15 or 1.8.0-beta.0 to 1.8.0-beta.4). Verify if email-change links are still valid after the old email is registered by another user. Inspect logs for unauthorized email changes or session hijacking attempts.

Impact Analysis

Attackers could gain unauthorized access to your account, hijack sessions, or change your email to one they control. This requires you to register an email address that was previously used by an attacker while their email-change link is still active.

Compliance Impact

This vulnerability could lead to unauthorized access to user accounts, potentially exposing personal data. For GDPR, this may violate principles of data protection and user consent. For HIPAA, it could compromise protected health information if healthcare data is involved.

Mitigation Strategies

Upgrade better-auth to version 1.7.16 or later if using the 1.4.0 to 1.7.15 branch, or to version 1.8.0-beta.5 or later if using the beta branch. As a temporary measure, disable user-initiated email changes or reduce the email verification token expiration time.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-134315. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...