3.8Low
CVE-2026-67334better-auth Stale Sessions Persist After User Deletion
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.
Weakness (CWE):
CWE-459
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| better-auth | better-auth | 0.3.4 – < 1.6.11, fixed 1.6.11 | |
| better-auth | better-auth/oauth-provider | 0.3.4 – < 1.6.11 |
References and patches
- GitHub Security Advisory (GHSA-2vg6-77g8-24mp) vendor-advisory
- VulnCheck Advisory: better-auth Stale Sessions Persist After User Deletion third-party-advisory