SuperTokens Core: A session created concurrently with account unlink survives the unlink
Summary
| CVE | CVE-2026-123804 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-09 19:16:47 UTC |
| Updated | 2026-11-09 19:16:47 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.8 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Problem Types: CWE-362 | CWE-613 | CWE-362 CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | CWE-613 CWE-613: Insufficient Session Expiration
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.8 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| 3.1 | CNA | DECLARED | 6.8 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Supertokens | Supertokens-core | affected >= 7.0.0, < 11.0.0 | Not specified |
| CNA | Supertokens | Supertokens-core | affected >= 11.0.0, < 11.0.9 | Not specified |
| CNA | Supertokens | Supertokens-core | affected >= 11.1.0, < 11.1.4 | Not specified |
| CNA | Supertokens | Supertokens-core | affected >= 11.2.0, < 11.2.4 | Not specified |
| CNA | Supertokens | Supertokens-core | affected >= 11.3.0, < 11.3.8 | Not specified |
| CNA | Supertokens | Supertokens-core | affected >= 11.4.0, < 11.4.8 | Not specified |
| CNA | Supertokens | Supertokens-core | affected >= 12.0.0, < 12.0.11 | Not specified |
| CNA | Supertokens | Supertokens-core | affected >= 12.1.0, < 12.1.2 | Not specified |
| CNA | Supertokens | Supertokens-core | affected >= 12.2.0, < 12.2.1 | Not specified |
| CNA | Supertokens | Supertokens-core | affected >= 12.3.0, < 12.3.1 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/supertokens/supertokens-core/releases/tag/v12.2.1 | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/releases/tag/v12.3.1 | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/releases/tag/v12.0.11 | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/commit/5aec64aca6d765cde49165821... | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/commit/b1c569ed59fffe16c2f657da1... | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/commit/182b39454ac44649cdef22d87... | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/security/advisories/GHSA-2pc4-vw... | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/releases/tag/v11.0.9 | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/releases/tag/v11.1.4 | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/releases/tag/v11.2.4 | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/commit/c8b48e843b323cd749dcb17b6... | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/commit/bb6d5f8d1b79770e3cc37f214... | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/releases/tag/v11.4.8 | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/commit/c950a01794cf0983ebd624129... | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/commit/b44f1e1418206f411e541501c... | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/releases/tag/v11.3.8 | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/commit/c0b7f5eda20840f63f6b0f171... | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/releases/tag/v12.1.2 | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/commit/378e1157dc26232a518d2c360... | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/commit/fc273f5157d3e96f147aa4277... | [email protected] | github.com | |
| github.com/supertokens/supertokens-core/commit/d456dfbc02f2f7d68be7c05d8... | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.