CVE-2026-123804
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-11-09
- Last modified
- 2026-11-14
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N- Scored by
- security-advisories@github.com
- Fix available
- Not registered in the sources
Weakness type
-
CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating …
-
CWE-613: DEPRECATED: Insufficient Session Expiration
This entry has been deprecated because it was insufficiently clear. Consider CWE-1462 and its descendants.
References
- https://github.com/supertokens/supertokens-core/commit/182b39454ac44649cdef22d87f296a38a0…
- https://github.com/supertokens/supertokens-core/commit/378e1157dc26232a518d2c360ee60cf93c…
- https://github.com/supertokens/supertokens-core/commit/5aec64aca6d765cde491658210e6922e29…
- https://github.com/supertokens/supertokens-core/commit/b1c569ed59fffe16c2f657da1754abcae4…
- https://github.com/supertokens/supertokens-core/commit/b44f1e1418206f411e541501c2e5b9b147…
- https://github.com/supertokens/supertokens-core/commit/bb6d5f8d1b79770e3cc37f214ba94c3e36…
- https://github.com/supertokens/supertokens-core/commit/c0b7f5eda20840f63f6b0f171d22bd49a7…
- https://github.com/supertokens/supertokens-core/commit/c8b48e843b323cd749dcb17b6b81c190e7…
- https://github.com/supertokens/supertokens-core/commit/c950a01794cf0983ebd62412976cb80756…
- https://github.com/supertokens/supertokens-core/commit/d456dfbc02f2f7d68be7c05d876bdaa086…
- https://github.com/supertokens/supertokens-core/commit/fc273f5157d3e96f147aa42773607d627d…
- https://github.com/supertokens/supertokens-core/releases/tag/v11.0.9
- https://github.com/supertokens/supertokens-core/releases/tag/v11.1.4
- https://github.com/supertokens/supertokens-core/releases/tag/v11.2.4
- https://github.com/supertokens/supertokens-core/releases/tag/v11.3.8
- https://github.com/supertokens/supertokens-core/releases/tag/v11.4.8
- https://github.com/supertokens/supertokens-core/releases/tag/v12.0.11
- https://github.com/supertokens/supertokens-core/releases/tag/v12.1.2
- https://github.com/supertokens/supertokens-core/releases/tag/v12.2.1
- https://github.com/supertokens/supertokens-core/releases/tag/v12.3.1
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.