---
id: CVE-2026-67334
title: >-
  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
summary: >-
  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 sessi…
severity: low
cvss: 3.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N'
cwe:
  - CWE-459
vendor: better-auth
product: better-auth
affected:
  - better-auth >= 0.3.4 < 1.6.11
  - better-auth >= 1.6.0 < 1.6.11
published: '2026-08-01'
updated: '2026-10-08'
sourceUpdated: '2026-10-08T16:17:32.120'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-67334'
references:
  - url: >-
      https://github.com/better-auth/better-auth/security/advisories/GHSA-2vg6-77g8-24mp
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/better-auth-stale-sessions-persist-after-user-deletion
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-08-03T18:19:12.081952Z'
epss: 0.00323
epssPercentile: 0.25155
ingestedAt: '2026-08-02T08:18:07.676Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
