CVE-2026-123804 SuperTokens Core: A session created concurrently with account unlink survives the unlink

Medium 6.8 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-123804?

CVE-2026-123804 is a medium-severity vulnerability in supertokens-core, published on 9 Nov 2026.

Official 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.

Weakness: CWE-613, CWE-362

Which versions are affected by CVE-2026-123804?

How do I fix CVE-2026-123804?

No fix has been published for CVE-2026-123804 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-123804 being exploited?

There is no known exploitation of CVE-2026-123804 in the wild and no public exploit code.

Sources

Also known as GHSA-2pc4-vw9j-454c.

Is CVE-2026-123804 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free