Skip to content

better-auth

better-auth before 1.7.16 Session Revocation Bypass via Secondary Storage and Cookie Cache

CVE-2026-134321Published 21 Nov 2026, 16:34 UTC

Real-world risk

0.4/ 10Low

Routine

If the vulnerable configuration applies to you: 0.8

PreliminaryFrom the CVSS vector only · confidence low

CVSS

2.3

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from VulnCheck)

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.

Am I affected?

ProductAffected versions (from the sources)Fixed in
better-authCommon>= 0.8.1-beta.5, < 1.7.16; >= 1.8.0-beta.0, < 1.8.0-beta.5; >= 1.6.25, < 1.7.161.7.16, 1.8.0-beta.5

What to do

Update to a fixed version: 1.7.16, 1.8.0-beta.5.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.45

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

EPSS 0.1% chance of exploitation in 30 days (percentile 3), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together0.142
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.3 × prerequisites 0.1418 × threat 0.850.361
  4. Rounded to one decimal between 0.1 and 100.4

How the score works

Exploitation and evidence timeline

  1. 21 Nov 2026 Published
  2. 3 Dec 2026 Risk 0.4 (cvss fallback)

Weakness

CWE-362

References

Get alerts for better-auth

Free email or text alerts when a vulnerability in better-auth reaches risk 8 or higher. Nothing else.