Shellfeed logo Shellfeed

CVE-2026-123804 · MEDIUM (CVSS 6.8)

Summary: SuperTokens Core: A session created concurrently with account unlink survives the unlink

EPSS: 0.4% probability of exploitation in the next 30 days (percentile 31.1).

Details

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

MEDIUM (CVSS 6.8) — vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected packages

  • GIT github.com/supertokens/supertokens-core [46345737302e604516deed918694b55f364cfa8b – f09908dc148675f65bdd8af63cd8ff81531bddf4] [f09908dc148675f65bdd8af63cd8ff81531bddf4 – b1f9ad43bb367a23100d71dd65446842f0c5ada7] [384d688b85256165d55603354254983500a74d0a – 4ecbde1fad78af871d332866dee236ed8532003b] [e2ce5828f0f209241ae2b1efd65f39d5e86c2386 – 30878548b7aa78fab7df8ebb3d3e7cc518046138] [c9e8287b300658af79ee7de2e5d2f7102d8ae144 – 62731e844563c1ec122d092cb43f0dc4c2aa5464] [2b65d24196c2218e2d44f2b709695050d8097f52 – b70c3acf216445bdc1465c35524fce134a1c68f6] [957d9fa4256bf1f5de4624948bbca12c72894428 – ff2eeb172e4e027d739579499ae38c1eea462215] [8aade538381f889b58b706d35b112ff6d9e1a4f5 – d45830a1fbafb5135a54c7ab7cf9e896f86fdec3] [b2219c4aa019a501e4dfea76cf06ef802ca93fc0 – 78c5d6cf2caa370d6466c76481b57bb7349fecbd] [3be4a276b773cf3ededa56df52967f17760317b4 – a22c757f62ddc7db6c150ae755e9633792c1b581]

References

Posts about CVE-2026-123804