CVE-2026-123804
6.8medium
SuperTokens Core: A session created concurrently with account unlink survives the unlink
- Severity
- 6.8medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.43% (higher than 39% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| supertokens supertokens-core | >= 7.0.0, < 11.0.0, >= 11.0.0, < 11.0.9, >= 11.1.0, < 11.1.4, >= 11.2.0, < 11.2.4, >= 11.3.0, < 11.3.8, >= 11.4.0, < 11.4.8, >= 12.0.0, < 12.0.11, >= 12.1.0, < 12.1.2 and 2 more | CVE List |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-123804 changed 2026-11-14 | CVE Terms of Use |
| NVD | CVE-2026-123804 changed 2026-11-14 | Public domain |