SuperTokens Core: A session created concurrently with account unlink survives the unlink
CVE-2026-123804Published 9 Nov 2026, 18:53 UTC
Real-world risk
1.8/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.8
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| supertokens-coreNiche | >= 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; >= 12.2.0, < 12.2.1; >= 12.3.0, < 12.3.1 | 11.0.0, 11.0.9, 11.1.4, 11.2.4, 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.1, 12.3.1 |
What to do
Update to a fixed version: 11.0.0, 11.0.9, 11.1.4, 11.2.4, 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.1, 12.3.1.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 0.60 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.4% chance of exploitation in 30 days (percentile 39), as of 2026-12-06.
The arithmetic
- Prerequisites multiplied together0.270
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.27 × threat 0.851.836
- Rounded to one decimal between 0.1 and 101.8
Exploitation and evidence timeline
- 9 Nov 2026 Published
- 3 Dec 2026 Risk 1.8 (cvss fallback)
Weakness
CWE-362, CWE-613
References
- https://github.com/supertokens/supertokens-core/security/advisories/GHSA-2pc4-vw9j-454cvendor-advisory
- https://github.com/supertokens/supertokens-core/commit/182b39454ac44649cdef22d87f296a38a0b1a602misc
- https://github.com/supertokens/supertokens-core/commit/378e1157dc26232a518d2c360ee60cf93c2fd8a2misc
- https://github.com/supertokens/supertokens-core/commit/5aec64aca6d765cde491658210e6922e291742fdmisc
- https://github.com/supertokens/supertokens-core/commit/b1c569ed59fffe16c2f657da1754abcae47d2761misc
- https://github.com/supertokens/supertokens-core/commit/b44f1e1418206f411e541501c2e5b9b147add0d9misc
- https://github.com/supertokens/supertokens-core/commit/bb6d5f8d1b79770e3cc37f214ba94c3e36e9c3b8misc
- https://github.com/supertokens/supertokens-core/commit/c0b7f5eda20840f63f6b0f171d22bd49a7a609a1misc
- https://github.com/supertokens/supertokens-core/commit/c8b48e843b323cd749dcb17b6b81c190e7882a43misc
- https://github.com/supertokens/supertokens-core/commit/c950a01794cf0983ebd62412976cb80756bf5dd0misc
- https://github.com/supertokens/supertokens-core/commit/d456dfbc02f2f7d68be7c05d876bdaa086f9a5b5misc
- https://github.com/supertokens/supertokens-core/commit/fc273f5157d3e96f147aa42773607d627d3b495fmisc
- https://github.com/supertokens/supertokens-core/releases/tag/v11.0.9misc
- https://github.com/supertokens/supertokens-core/releases/tag/v11.1.4misc
- https://github.com/supertokens/supertokens-core/releases/tag/v11.2.4misc
- https://github.com/supertokens/supertokens-core/releases/tag/v11.3.8misc
- https://github.com/supertokens/supertokens-core/releases/tag/v11.4.8misc
- https://github.com/supertokens/supertokens-core/releases/tag/v12.0.11misc
- https://github.com/supertokens/supertokens-core/releases/tag/v12.1.2misc
- https://github.com/supertokens/supertokens-core/releases/tag/v12.2.1misc
- https://github.com/supertokens/supertokens-core/releases/tag/v12.3.1misc
- CVE-2026-123804 on CVE.org