Skip to content

CVE-2026-67334 better-auth Stale Sessions Persist After User Deletion

MediumCVSS 5.1 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known

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

ProductAffected versionsFixed in
npm better-auth >= 0.3.4, < 1.6.11 1.6.11
better-auth @better-auth/scim >= 1.6.0, < 1.6.11 1.6.11
npm better-auth(npm) >= 0.3.4, < 1.6.11 1.6.11
better-auth @better-auth/scim(npm) >= 1.6.0, < 1.6.11 1.6.11

References