CVE-2026-123801Supertokens-core authentication bypass by capture-replay
CVSS score
7.4
High
CVSS 3.1 from github.com
Exploit probability (EPSS)
0.35%
0.35% chance of exploitation in the next 30 days, higher than 29.6% 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 11.3.0 until 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.1, and 12.3.1, SAML.handleCallback does not consume RelayState, record assertion identifiers, or enforce Response.InResponseTo. In the SP-initiated flow, an attacker who obtains a legitimately issued, still-valid SAML response and its matching RelayState can resubmit the pair to /recipe/saml/callback before the assertion's NotOnOrAfter time; in the IdP-initiated flow, the assertion can be replayed without RelayState. The missing Response.InResponseTo check also permits an in-progress login to be completed with an assertion for a different identity and fails to enforce allowIDPInitiatedLogin=false. The callback does not validate Destination or SubjectConfirmationData Recipient and NotOnOrAfter, and each accepted callback mints a fresh, independently redeemable authorization code carrying the captured user's identity. This issue is fixed in versions 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
Check whether you're affected
Find every system running Supertokens-core and compare its version with the affected versions.
Update to a fixed version
- Update Supertokens-core to 11.3.8, 11.4.8, 12.0.11, 12.1.2 or later, on the branch you run.
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
- None
- 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:N/UI:N/S:U/C:H/I:H/A:N
Affected products
| Affected products | Versions |
|---|---|
| supertokens Supertokens-core | >= 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 |
Weakness
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-123801 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-123801?
CVE-2026-123801 has a CVSS 3.1 base score of 7.4 (high).
Which versions are affected?
Supertokens Supertokens-core (>= 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)
Is there a patch for CVE-2026-123801?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/supertokens/supertokens-core/commit/075655222f5e72f3683a127e45c83c4174fbd4f7
- github.com/supertokens/supertokens-core/commit/4e05d8cf60287e9d2720140031a8b8f4430d056f
- github.com/supertokens/supertokens-core/commit/557835406547d269f5d0e33159630a1873461c38
- github.com/supertokens/supertokens-core/commit/5c42f02e98f67174c6a5a800dd9f8bd5b6e98486
- github.com/supertokens/supertokens-core/commit/b6730e608b2d4562939cd4f41ea07df5f841dfe5
- github.com/supertokens/supertokens-core/commit/ca2bca9bc900c2fd399d508818ad026cc977dcf6
- github.com/supertokens/supertokens-core/releases/tag/v11.3.8
- github.com/supertokens/supertokens-core/releases/tag/v11.4.8
- github.com/supertokens/supertokens-core/releases/tag/v12.0.11
- github.com/supertokens/supertokens-core/releases/tag/v12.1.2
- github.com/supertokens/supertokens-core/releases/tag/v12.2.1
- github.com/supertokens/supertokens-core/releases/tag/v12.3.1
- github.com/supertokens/supertokens-core/security/advisories/GHSA-3r7x-rhvc-fw28
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.