CyberRota Analysis
AI-GeneratedVersions of better-auth prior to 1.6.11 are vulnerable as they do not properly delete cached session tokens for removed users when secondaryStorage is configured and storeSessionInDatabase is set to false. This flaw allows attackers to exploit deleted user session tokens, potentially maintaining unauthorized access for up to seven days post-account deletion. Organizations using this software should prioritize patching to mitigate the risk of unauthorized access stemming from this session management issue.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.