CVE-2026-123804
SuperTokens Core: A session created concurrently with account unlink survives the unlink
Check your servers for CVE-2026-123804
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-123804 affects supertokens-core, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.43%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 39.4% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 14 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Weakness
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization
- CWE-613 DEPRECATED: Insufficient Session Expiration
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| supertokens-core |
affected >= 7.0.0, < 11.0.0 affected >= 11.0.0, < 11.0.9 affected >= 11.1.0, < 11.1.4 affected >= 11.2.0, < 11.2.4 affected >= 11.3.0, < 11.3.8 affected >= 11.4.0, < 11.4.8 affected >= 12.0.0, < 12.0.11 affected >= 12.1.0, < 12.1.2 affected >= 12.2.0, < 12.2.1 affected >= 12.3.0, < 12.3.1
|
Is my server affected?
Find the installed version of supertokens-core and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i supertokens-core
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-123804 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-123804RHEL, Rocky, Alma, Fedora
rpm -q supertokens-core
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-123804Alpine
apk list --installed | grep -i supertokens-coreWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-123804
trivy image --scanners vuln IMAGE | grep CVE-2026-123804
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Other references
- https://github.com/supertokens/supertokens-core/commit/182b39454ac44649cdef22d87f296a38a0b1a602 github.com
- https://github.com/supertokens/supertokens-core/commit/378e1157dc26232a518d2c360ee60cf93c2fd8a2 github.com
- https://github.com/supertokens/supertokens-core/commit/5aec64aca6d765cde491658210e6922e291742fd github.com
- https://github.com/supertokens/supertokens-core/commit/b1c569ed59fffe16c2f657da1754abcae47d2761 github.com
- https://github.com/supertokens/supertokens-core/commit/b44f1e1418206f411e541501c2e5b9b147add0d9 github.com
- https://github.com/supertokens/supertokens-core/commit/bb6d5f8d1b79770e3cc37f214ba94c3e36e9c3b8 github.com
- https://github.com/supertokens/supertokens-core/commit/c0b7f5eda20840f63f6b0f171d22bd49a7a609a1 github.com
- https://github.com/supertokens/supertokens-core/commit/c8b48e843b323cd749dcb17b6b81c190e7882a43 github.com
- https://github.com/supertokens/supertokens-core/commit/c950a01794cf0983ebd62412976cb80756bf5dd0 github.com
- https://github.com/supertokens/supertokens-core/commit/d456dfbc02f2f7d68be7c05d876bdaa086f9a5b5 github.com
- https://github.com/supertokens/supertokens-core/commit/fc273f5157d3e96f147aa42773607d627d3b495f github.com
- https://github.com/supertokens/supertokens-core/releases/tag/v11.0.9 github.com
8 more
- https://github.com/supertokens/supertokens-core/releases/tag/v11.1.4 github.com
- https://github.com/supertokens/supertokens-core/releases/tag/v11.2.4 github.com
- https://github.com/supertokens/supertokens-core/releases/tag/v11.3.8 github.com
- https://github.com/supertokens/supertokens-core/releases/tag/v11.4.8 github.com
- https://github.com/supertokens/supertokens-core/releases/tag/v12.0.11 github.com
- https://github.com/supertokens/supertokens-core/releases/tag/v12.1.2 github.com
- https://github.com/supertokens/supertokens-core/releases/tag/v12.2.1 github.com
- https://github.com/supertokens/supertokens-core/releases/tag/v12.3.1 github.com
Source: the record CVE-2026-123804 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse