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.
Severity (CVSS)
| Base score | 5.1 |
|---|---|
| Severity | Medium |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-459 — Incomplete Cleanup
Affected products
| Vendor | Product | Versions |
|---|---|---|
| better-auth | better-auth | 0.3.4 to <1.6.11; 1.6.11 |
| better-auth | better-auth | 1.6.0 to <1.6.11; 1.6.11 |
References
Generated from the official CVE List on 02 Aug 2026 07:05 UTC.