GHSA-2pc4-vw9j-454c: SuperTokens Core: A session created concurrently with account unlink survives the unlink

Published Nov 9, 2026
·
Updated

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.

Affected Software

1 affected component
SuperTokens SuperTokens Core>=7.0.0<11.0.9, >=11.1.0<11.1.4, >=11.2.0<11.2.4, >=11.3.0<11.3.8, >=11.4.0<11.4.8, >=12.0.0<12.0.11, >=12.1.0<12.1.2, >=12.2.0<12.2.1, >=12.3.0<12.3.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SuperTokens Core to a version that resolves this vulnerability.

    Fixed in 11.0.9
  2. Upgrade

    Upgrade SuperTokens Core to a version that resolves this vulnerability.

    Fixed in 11.1.4
  3. Upgrade

    Upgrade SuperTokens Core to a version that resolves this vulnerability.

    Fixed in 11.2.4
  4. Upgrade

    Upgrade SuperTokens Core to a version that resolves this vulnerability.

    Fixed in 11.3.8
  5. Upgrade

    Upgrade SuperTokens Core to a version that resolves this vulnerability.

    Fixed in 11.4.8
  6. Upgrade

    Upgrade SuperTokens Core to a version that resolves this vulnerability.

    Fixed in 12.0.11
  7. Upgrade

    Upgrade SuperTokens Core to a version that resolves this vulnerability.

    Fixed in 12.1.2
  8. Upgrade

    Upgrade SuperTokens Core to a version that resolves this vulnerability.

    Fixed in 12.2.1
  9. Upgrade

    Upgrade SuperTokens Core to a version that resolves this vulnerability.

    Fixed in 12.3.1

Event History

Nov 9, 2026
CVE Published
via OSV·06:53 PM
Data Sourced
via OSV·06:53 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker must control a login method that is linked to the target account and must win a race between session creation and unlinking that login method. The resulting session remains associated with the former primary identity.

2

Are deployments affected by default?

The issue affects SuperTokens Core versions from 7.0.0 through the releases before the listed fixed versions. It is relevant where linked login methods can be unlinked while a session can be created concurrently.

3

What is the impact if exploitation succeeds?

The attacker can retain a signed, database-backed, refreshable session for the former primary identity after their login method has been unlinked. That session remains valid until it expires or is explicitly revoked.

4

What should be done if an immediate upgrade is not possible?

Explicitly revoke sessions associated with accounts after unlinking a login method, because the surviving session persists until expiry or revocation. Upgrade to the applicable fixed release as soon as possible.

5

Which versions contain the fix?

Fixed versions are 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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203