Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessControl a linked login method
-
DeliveryBegin createNewSession, read primary user id
-
ExploitRace against concurrent unlinkAccounts revocation
-
ExecutionInsert session row after revocation snapshot
-
ImpactRetain signed refreshable session as former primary identity
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) an authenticated attacker who controls at least one linked login method on a SuperTokens Core user account (versions 7.0.0 through the listed fixed releases); (2) a concurrent unlinkAccounts operation on that method, with the attacker's createNewSession call interleaved precisely in the window between the primary-user read and the session-row insert, after unlink's revocation has enumerated existing sessions; and (3) database-backed session verification, since the advisory notes the surviving session is accepted because 'the row is found' on lookup. Limiting factors that reduce realistic risk: the attacker must win a narrow TOCTOU race (reflected as AC:H), must already hold a controlled linked login method (PR:L, not an unauthenticated outsider), and the attack coincides only with an unlink event. The token is core-signed, so this is not forgery. Per the advisory there is no configuration-level workaround; shortening session lifetimes only reduces exposure window, and updating to a fixed version is the complete fix. |
| Impact | This is a legitimate but moderate-priority issue, consistent with its 6.8 CVSS score and the vuln.today 'this_month' decision label (not act_now or emergency). The CVSS vector (AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N) captures the key tension: high confidentiality and integrity impact, but gated by high attack complexity (AC:H, a TOCTOU race window) and required low-level privileges (PR:L - the attacker must already control a linked login method on the target account). No EPSS score was supplied and the CVE is NOT on CISA KEV, so there is no_signal of mass or active exploitation. No PoC or exploit reference is present in the input - only vendor patch commits and the GHSA advisory - so there is no public exploit identified at time of analysis. The practical risk is targeted rather than widespread: exploitation requires an authenticated user who controls a linked login method to win a narrow timing race against an unlink operation. It is a real correctness/authentication-lifecycle flaw worth patching within a normal cycle, not a drop-everything emergency. One gap to note: the GHSA package table lists the >= 7.0.0, < 11.0.0 branch as 'not yet patched' at advisory time, while the CVE description states all branches are fixed - verify fix availability for any 7.x-10.x deployment with the vendor. |
| Exploit ScenarioDerived | An attacker who already controls one linked login method on a multi-method SuperTokens user account initiates session creation at the same moment an administrator (or automated flow) unlinks that method from the primary user. By hitting the window between createNewSession reading the primary user id and inserting the session row, the attacker obtains a core-signed, database-backed, refreshable session as the former primary identity that survives the unlink's session revocation. No public exploit code is identified; success depends on repeatedly timing the race (AC:H) and holding control of a linked login method (PR:L). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
Session revocation bypass in SuperTokens Core allows a user who already controls a linked login method to keep a signed, database-backed, refreshable session as the former primary identity even after that login method is unlinked. The flaw is a race between createNewSession, which reads the primary user and later inserts the session row without taking the account lock, and unlinkAccounts, which detaches the method, commits and only then enumerates and revokes existing sessions - a session inserted after that revocation snapshot survives until expiry or explicit revocation. Affected releases are 7.0.0 through 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; exploitation requires winning a narrow timing window during an unlink event, which is reflected in the 6.8 score and high attack complexity, and no public exploit has been identified at time of analysis.
RemediationAI
Vendor-released patch: 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 - upgrade to the fixed release matching your deployment branch; note that the advisory's package table lists the >= 7.0.0, < 11.0.0 range as not yet patched, so lines older than 11.0 must move to a fixed release rather than expect a backport. The fixes are visible in the referenced commits to src/main/java/io/supertokens/authRecipe/AuthRecipe.java and src/main/java/io/supertokens/session/Session.java (for example 182b39454ac44649cdef22d87f296a38a0b1a602 and 378e1157dc26232a518d2c360ee60cf93c2fd8a2), with release notes at https://github.com/supertokens/supertokens-core/releases/tag/v11.0.9 and the advisory at https://github.com/supertokens/supertokens-core/security/advisories/GHSA-2pc4-vw9j-454c. Per the advisory there is no configuration-level workaround; keeping session lifetimes short only reduces the exposure window and does not close it, so updating to a fixed version is the complete fix, and the advisory cautions that post-insert read-and-delete compensating logic is insufficient because it opens another TOCTOU window.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
SuperTokens Core is an open source authentication server (Java, source paths under src/main/java/io/supertokens/) that issues and verifies signed session tokens backed by database rows for the Session and AuthRecipe (account linking) recipes. The root cause is a time-of-check/time-of-use condition mapped to CWE-362 (concurrent execution using shared resource with improper synchronization) and, in the upstream GitHub advisory GHSA-2pc4-vw9j-454c, additionally CWE-613 (insufficient session expiration). unlinkAccounts detaches a login method under a per-user lock, commits, and then revokes sessions; createNewSession resolves the current primary user, signs a token, and inserts the session row without acquiring that same lock. An interleaving in which session creation reads the stale primary user id, unlink commits and its revocation enumerates and deletes the sessions it can see, and session creation then inserts its row after that snapshot, yields a core-signed (not forged) token whose row is found by database-backed verification and whose refresh token remains usable. The upstream fix serializes identity resolution and row insertion under the same user lock as link/unlink within one transaction and deletes sessions by recipe user id inside unlink's own transaction; the advisory explicitly notes that a post-insert read-and-delete approach would leave another TOCTOU window and is insufficient. The supplied commit diffs touch AuthRecipe.java (unlinkAccounts) and Session.java (createNewSession), including removal of a transaction/audit annotation that had described serialization against account link/unlink.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Network-reachable API but a narrow TOCTOU race (AC:H) and prior control of a linked login method (PR:L); surviving session grants account access (C:H/I:H), no availability effect (A:N).
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).
EUVD-2026-120229
NVD
CVE.org
EPSS
GitHub
Exploit-DB