7.6
HIGH CVSS 4.0
CVE-2026-134313
Better Auth before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 Session Mix-Up via MySQL Serial IDs
Description

Better Auth (better-auth, @better-auth/kysely-adapter, and @better-auth/drizzle-adapter) before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5 contains a race condition with MySQL or MariaDB serial IDs because the inserted row's ID is read via a separate LAST_INSERT_ID() query that may run on a different pooled connection. Under concurrent load, a user signing in can receive another user's session and act as that user.

INFO

Published Date :

Nov. 21, 2026, 4:34 p.m.

Last Modified :

Nov. 21, 2026, 4:34 p.m.

Remotely Exploit :

Yes !

Source :

VulnCheck
Affected Products

The following products are affected by CVE-2026-134313 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Better-auth better_auth
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM 83251b91-4cc7-4094-a5c7-464a1b83ea10
CVSS 3.1 MEDIUM MITRE-CVE
CVSS 4.0 HIGH 83251b91-4cc7-4094-a5c7-464a1b83ea10
Solution
Update to a patched version to resolve a race condition affecting user sessions.
  • Update the library to version 1.7.16 or later.
  • Update the library to version 1.8.0-beta.5 or later.
  • Test the application for proper session handling.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-134313 vulnerability anywhere in the article.

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.