Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2026-67334 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-459Incomplete Cleanup[email protected]

Affected Products

ProductVersions
better-auth
>= 0.3.4, < 1.6.11 (semver)

CPE

  • cpe:2.3:a:better-auth:better_auth:*:*:*:*:*:node.js:*:*

Remediation

  • Upgrade: 1.6.11moderate effort
  • Workaround:low effort

    Configure `session.storeSessionInDatabase` to `true`. This will cause user-deletion writes to reach the session table, allowing the database to cascade the delete.

  • Workaround:low effort

    When calling `auth.api.removeUser`, also call `auth.api.revokeUserSessions({ body: { userId } })`, which uses `deleteSessions` internally.

  • Workaround:low effort

    In `onLinkAccount`, explicitly call `internalAdapter.deleteSessions(anonymousUser.user.id)` before allowing the new session to be issued.

better-auth/scim
>= 1.6.0, < 1.6.11 (semver)

CPE

  • No CPEs found in CPE dictionary for this product.

Remediation

  • Upgrade: 1.6.11moderate effort
  • Workaround:low effort

    Wrap your SCIM provider's deprovisioning hook to call `auth.api.revokeUserSessions(...)` after the SCIM DELETE.

Change History

2 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2026-67334
NVD Published Date:
Aug 1, 2026
NVD Last Modified:
Sep 8, 2026
Source:
[email protected]
CVE-2026-67334 Details - Not Deferred