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

Published Aug 1, 2026
·
Updated

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 Software

1 affected component
better-auth better-auth<1.6.11

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade better-auth to a version that resolves this vulnerability.

    Fixed in 1.6.11
  2. Configuration

    Upgrade to better-auth 1.6.11; 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.

    better-auth secondaryStorage (and session deletion behavior when secondaryStorage is configured with storeSessionInDatabase=false) = Ensure cached sessions are deleted when removing users

Event History

Aug 1, 2026
CVE Published
via MITRE·12:22 PM
Data Sourced
via MITRE·12:22 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:17 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-67334?

The severity of CVE-2026-67334 is rated low with a score of 3.8.

2

How does CVE-2026-67334 affect user security?

CVE-2026-67334 allows attackers to reuse stale session tokens of deleted users for up to seven days, potentially compromising account security.

3

Which versions of better-auth are affected by CVE-2026-67334?

CVE-2026-67334 affects better-auth versions prior to 1.6.11.

4

How do I fix CVE-2026-67334?

To remediate CVE-2026-67334, upgrade to better-auth version 1.6.11 or later.

5

What is the primary cause of CVE-2026-67334?

CVE-2026-67334 is caused by failure to delete cached sessions when users are removed, specifically when secondaryStorage is configured and storeSessionInDatabase is false.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203