Skip to content
OpenAdvisories
Low · 3.8 CVE-2026-67334 EUVD-2026-51828GHSA-2vg6-77g8-24mpGHSA-gj53-4jmf-7745

better-auth Stale Sessions Persist After User Deletion

Published Aug 1, 2026 · Updated Oct 8, 2026 · Assigned by VulnCheck

Description

better-auth versions before 1.6.11 fail to delete cached sessions when removing users via admin, anonymous, or SCIM endpoints when secondaryStorage is configured and storeSessionInDatabase is false. Attackers can reuse deleted user session tokens to maintain authentication for up to seven days after account deletion.

Affected products

VendorProductAffectedFixed
better-auth better-auth 0.3.4 – < 1.6.11, 1.6.0 – < 1.6.11 1.6.11

Affected packages

EcosystemPackageAffectedFixedRecord
npm @better-auth/scim >= 1.6.0, < 1.6.11 1.6.11 GHSA-2vg6-77g8-24mp
npm better-auth >= 0.3.4, < 1.6.11 1.6.11 GHSA-2vg6-77g8-24mp

References