supertokens-core: Authentication Bypass by Capture-replay
CVE-2026-123801 is a high-severity authentication bypass by capture-replay vulnerability in supertokens-core from Supertokens, with a CVSS 3.1 base score of 7.4 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected supertokens-core versions: >= 11.3.0, < 11.3.8; >= 11.4.0, < 11.4.8; >= 12.0.0, < 12.0.11, and others listed below. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 0.35% chance of exploitation within 30 days, which is low compared with other CVEs.
High severity with no evidence of exploitation so far.
What to do
- Check which version of supertokens-core you run against the affected versions below, and install the vendor's latest release.
- Read the advisory on github.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| 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 | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- HighSuccess depends on conditions outside the attacker's control.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- NoneAvailability is not affected.
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N. Scored by CNA (github.com).
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: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Authentication Bypass by Capture-replay
A capture-replay flaw exists when the design of the product makes it possible for a malicious user to sniff network traffic and bypass authentication by replaying it to the server in question to the same effect as the original message (or with minor changes).
How developers prevent this class of flaw
- Utilize some sequence or time stamping functionality along with a checksum which takes this into account in order to ensure that messages can be parsed only once.
- Since any attacker who can listen to traffic can see sequence numbers, it is necessary to sign messages with some kind of cryptography to ensure that sequence numbers are not simply doctored along with content.
More Authentication Bypass by Capture-replay vulnerabilities (CWE-294)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Patches and release notes
- 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
Other vulnerabilities in supertokens-core
- 8.1 High severity
- 8.1 High severity
- 9.9 Critical severity
- 7.4 High severity
- 8.1 High severity
- 7.5 High severity
Recent Authentication Bypass by Capture-replay vulnerabilities
- 9.8 Critical severity
- 9.1 Critical severity
- 7.4 High severity
- 9.1 Critical severity
- 7.6 High severity
- 7.5 High severity
Spotted an error? Tell us.