Skip to main content

Incomplete Cleanup

CVE-2026-67334

Severity Medium
Score 5.1/10

Summary

@better-auth/scim versions from 1.6.0 prior to 1.6.11 and better-auth versions from 0.3.4 prior to 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.

  • LOW
  • NETWORK
  • LOW
  • UNCHANGED
  • NONE
  • HIGH
  • LOW
  • NONE

CWE-459 - Incomplete Cleanup

The software does not properly "clean up" and remove temporary or supporting resources after they have been used.

References

Advisory Timeline

  • Published