Skip to content
RedCVE

CVE-2026-123804Supertokens-core race condition

supertokensPublished:

CVSS score

6.8

Medium

CVSS 3.1 from github.com

Exploit probability (EPSS)

0.37%

0.37% chance of exploitation in the next 30 days, higher than 31.3% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

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.

Source: NVD · CNA: security-advisories@github.com

How to fix it, step by step

  1. Check whether you're affected

    Find every system running Supertokens-core and compare its version with the affected versions.

  2. Update to a fixed version

    • Update Supertokens-core to 11.0.0, 11.0.9, 11.1.4, 11.2.4 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected products

Affected productsVersions
supertokens Supertokens-core>= 7.0.0, < 11.0.0 · >= 11.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

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-123804 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.4% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-123804?

CVE-2026-123804 has a CVSS 3.1 base score of 6.8 (medium).

Which versions are affected?

Supertokens Supertokens-core (>= 7.0.0, < 11.0.0; >= 11.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)

Is there a patch for CVE-2026-123804?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.