CVE-2026-123804supertokens supertokens-core race condition
CVE-2026-123804 is a race condition in supertokens supertokens-core, rated medium (6.8 on CVSS 3.1).
Why this priority: Medium severity, with no exploitation signal.
Published · Updated · NVD status: Received
What it is
Two operations race on shared state, and an attacker who wins the race bypasses a check or corrupts data. Sessions stay valid long after they should end.
How it is reached
An attacker can exploit it over the network, with an ordinary user account, and nobody has to click anything. Success also depends on conditions the attacker does not fully control.
What an attacker gains
A successful attack can read the data it protects and change data or behaviour. In practice, this kind of flaw lets an attacker win a timing window to bypass a check or corrupt shared state.
Is it being exploited?
There is no public report of exploitation yet.
What to do
- Upgrade supertokens supertokens-core to a fixed version for your release line (11.0.0, 11.0.9, 11.1.4).
- Until it is patched, review who holds accounts that can reach it.
Description from NVD
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.
What this means for your architecture.
A CVE names a product. Whether it matters depends on where that product sits in your systems: what reaches it, which trust boundary it guards and what it can reach once compromised. Veriom maps your components, their relationships and your trust boundaries from your code, cloud and delivery evidence, so you can see where a component like this sits. The radar itself does not look at your systems.
Components it touches
- Request handlers and jobs that share state. The flaw sits between concurrent requests or processes.
- Sign-in, session and token handling. The flaw sits between anonymous callers and authenticated sessions.
- Identity providers and SSO. The flaw sits between anonymous callers and authenticated sessions.
Trust boundaries in play
- Authenticated network access. An account is needed, so exposure follows who can sign in: customers, partners or staff.
- Between concurrent requests or processes. An attacker who crosses it can win a timing window to bypass a check or corrupt shared state.
- Between anonymous callers and authenticated sessions. An attacker who crosses it can act as a signed-in user, or an administrator, without valid credentials.
Questions to answer about your own systems
- Where does supertokens supertokens-core run in your systems, and at which version?
- Which of those instances can be reached from the internet or partner networks?
- What can it reach once compromised: which data stores, secrets and services?
Read more
Patches and commits
- github.com/supertokens/supertokens-core/commit/182b39454ac44649cdef22d87f296a38a0b1a602
- github.com/supertokens/supertokens-core/commit/378e1157dc26232a518d2c360ee60cf93c2fd8a2
- github.com/supertokens/supertokens-core/commit/5aec64aca6d765cde491658210e6922e291742fd
- github.com/supertokens/supertokens-core/commit/b1c569ed59fffe16c2f657da1754abcae47d2761
- github.com/supertokens/supertokens-core/commit/b44f1e1418206f411e541501c2e5b9b147add0d9
- github.com/supertokens/supertokens-core/commit/bb6d5f8d1b79770e3cc37f214ba94c3e36e9c3b8
- github.com/supertokens/supertokens-core/commit/c0b7f5eda20840f63f6b0f171d22bd49a7a609a1
- github.com/supertokens/supertokens-core/commit/c8b48e843b323cd749dcb17b6b81c190e7882a43
- github.com/supertokens/supertokens-core/commit/c950a01794cf0983ebd62412976cb80756bf5dd0
- github.com/supertokens/supertokens-core/commit/d456dfbc02f2f7d68be7c05d876bdaa086f9a5b5
- github.com/supertokens/supertokens-core/commit/fc273f5157d3e96f147aa42773607d627d3b495f
Releases
- github.com/supertokens/supertokens-core/releases/tag/v11.0.9
- github.com/supertokens/supertokens-core/releases/tag/v11.1.4
- github.com/supertokens/supertokens-core/releases/tag/v11.2.4
- github.com/supertokens/supertokens-core/releases/tag/v11.3.8
- github.com/supertokens/supertokens-core/releases/tag/v11.4.8
- github.com/supertokens/supertokens-core/releases/tag/v12.0.11
- github.com/supertokens/supertokens-core/releases/tag/v12.1.2
- github.com/supertokens/supertokens-core/releases/tag/v12.2.1
- github.com/supertokens/supertokens-core/releases/tag/v12.3.1
Sources
- CVE records and CVSS scores from the NVD CVE API. This product uses the NVD API but is not endorsed or certified by the NVD.
- Exploitation status from CISA’s Known Exploited Vulnerabilities catalog.
- Exploit likelihood from FIRST’s Exploit Prediction Scoring System (EPSS), refreshed daily.
- Explanations are written by Veriom from fixed templates over each record’s data, not by a person reviewing each CVE. Descriptions are quoted from the records as published.