Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
2.3

CVE-2026-134321: better-auth allows revoked sessions to stay active

CVE-2026-134321 · published 12 days ago
Summary

Versions of the better-auth library prior to 1.7.16 (and certain early beta releases) may keep a session usable after it has been revoked because the list of revoked sessions is not updated correctly and some parts of the system rely on a cached cookie. This means an attacker who already has a valid login could avoid being logged out or banned, and could use the stale session to create new credentials. Upgrade to the latest version of better-auth as soon as possible to ensure revoked sessions are properly terminated.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
better-auth better-auth < 1.7.16
< 1.8.0-beta.5
Original advisory text
better-auth before 1.7.16 Session Revocation Bypass via Secondary Storage and Cookie Cache
better-auth from 0.8.1-beta.5 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5, and @better-auth/passkey from 1.6.25 before 1.7.16 and 1.8.0-beta.0 before 1.8.0-beta.5, let revoked sessions stay valid because secondary storage session lists are updated non-atomically and some routes trust cookie-cached sessions. An attacker holding a valid session can evade bulk revocation or bans, or use a revoked cached session to register a passkey or create a lasting session.
Fix within
Internet-facing 60 days
Internal At next upgrade
  • Not known to be exploited
  • Needs hands-on effort to exploit
  • Gives an attacker partial control
Severity
2.3 Low
Exploitation
<1% chance of attack within 30 days
Type
CWE-362Race Condition
Timeline
Published21 Nov 2026
Updated2 Dec 2026
First seen21 Nov 2026
Sources
CVE-2026-134321 · MITRE
Track software like this
Free during beta