SuperTokens Core: A session created concurrently with account unlink survives the unlink

State
Published
Severity
6.8 Medium
Published
Nov 9, 2026
Updated
Nov 14, 2026
Reserved
Nov 6, 2026

Read the record on cve.org

Description

SuperTokens Core is an open source authentication server. From 7.0.0 until 11.0.9, 11.1.4, 11.2.4, 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.1, and 12.3.1, createNewSession can resolve a primary user before unlinkAccounts detaches a login method and then insert the session after unlink has enumerated and revoked the existing sessions. A user who controls the linked login method can exploit this race to retain a signed, database-backed, refreshable session as the former primary identity after that method is unlinked; the session persists until expiry or explicit revocation. This issue is fixed in versions 11.0.9, 11.1.4, 11.2.4, 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.1, and 12.3.1.

ProductVersions
supertokens-core supertokens>= 7.0.0, < 11.0.0 Affected>= 11.0.0, < 11.0.9 Affected>= 11.1.0, < 11.1.4 Affected>= 11.2.0, < 11.2.4 Affected>= 11.3.0, < 11.3.8 Affected>= 11.4.0, < 11.4.8 Affected>= 12.0.0, < 12.0.11 Affected>= 12.1.0, < 12.1.2 Affected>= 12.2.0, < 12.2.1 Affected>= 12.3.0, < 12.3.1 Affected

Weaknesses

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
  • CWE-613 Insufficient Session Expiration

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.