Skip to main content

SuperTokens Core EUVDEUVD-2026-120152

| CVE-2026-123801 HIGH
Authentication Bypass by Capture-replay (CWE-294)
2026-11-09 GitHub_M
7.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Capture valid SAMLResponse + RelayState via intermediary
  2. Delivery
    Replay identical pair to /recipe/saml/callback
  3. Exploit
    Bypass missing replay/InResponseTo checks
  4. Execution
    Mint fresh authorization code
  5. Impact
    Redeem code at /recipe/saml/user as victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Replay attack prevention
Exploitation Conditions

Requires a deployment running the SuperTokens SAML recipe on a vulnerable version (11.3.0 up to 11.3.8/11.4.8/12.0.11/12.1.2/12.2.1/12.3.1). SP-initiated replay requires the attacker to obtain a legitimately issued, still-valid SAMLResponse AND its matching RelayState and resubmit them to /recipe/saml/callback before the assertion's NotOnOrAfter (commonly a few minutes). IdP-initiated replay requires only a captured assertion, since no RelayState exists in that flow. The missing Response.InResponseTo check additionally lets an in-progress login be completed with an assertion for a different identity and fails to enforce allowIDPInitiatedLogin=false. Limiting factors: the attacker needs an interception/observation position (a logging or TLS-terminating intermediary, a captured HTTP transcript, or a malicious/vulnerable browser extension), the replay window is bounded by the assertion's own lifetime, and non-SAML deployments are entirely unaffected.

Impact

Signals point to a real but conditional priority, not a drop-everything emergency. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N, 7.4 High) is network-reachable and unauthenticated at the callback endpoint, but AC:H is justified by the vendor: the primary attack requires possession of a legitimately issued, still-valid SAML Response for the victim, obtainable only from a privileged interception position (a logging/TLS-terminating intermediary or a malicious browser extension). No EPSS score and no KEV listing were provided, and the input shows no CISA active-exploitation status, so this is not confirmed exploited in the wild. The GHSA advisory documents a confirmed PoC run against unmodified code via the project's own Gradle/JUnit harness, so a working proof of concept is demonstrated even though no standalone downloadable exploit tool is published. The vuln.today Decision label is 'this_week' (not act_now/emergency), consistent with a serious authentication-bypass/replay flaw whose exploitation is gated by attacker position and a short assertion validity window rather than mass, automatable attack. Net: treat as a prompt patch for any deployment using the SuperTokens SAML recipe, but the capture precondition meaningfully limits widespread opportunistic exploitation.

Exploit ScenarioDerived

An attacker positioned to observe an already-submitted, otherwise-legitimate SAML POST-binding callback (a misconfigured reverse proxy logging request bodies, a TLS-terminating point inside an enterprise, or a malicious browser extension) captures a victim's SAMLResponse and matching RelayState. Before the assertion's NotOnOrAfter elapses (commonly minutes), they re-POST the identical pair to /recipe/saml/callback, which mints a fresh, independently redeemable authorization code carrying the victim's identity. A confirmed PoC exists in the GHSA advisory demonstrating two independent codes resolving to the same victim NameID; AC:H reflects that the attacker must first obtain the valid response.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

SAML callback replay in SuperTokens Core 11.3.0 up to the fixed releases lets an attacker who captures a legitimately issued, still-valid SAMLResponse - plus its matching RelayState in the SP-initiated flow - resubmit the pair to /recipe/saml/callback before the assertion's NotOnOrAfter elapses and receive a fresh, independently redeemable authorization code for the victim's identity; in the IdP-initiated flow the captured assertion alone is enough. The handler never consumes RelayState, never records assertion IDs and never reads Response.InResponseTo, Destination or SubjectConfirmationData, so an in-progress login can also be completed with an assertion for a different identity and allowIDPInitiatedLogin=false is not enforced (CVSS 7.4, AC:H because the primary impact depends on the attacker holding an observation position such as a logging/TLS-terminating intermediary, a captured HTTP transcript or a malicious browser extension). The vendor advisory documents a confirmed harness-based proof-of-concept reproduction; no CISA KEV listing and no distributed exploit code were identified in the available data, and non-SAML deployments are unaffected.

RemediationAI

Vendor-released patches exist: upgrade SuperTokens Core to 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.1 or 12.3.1 according to the branch you run (advisory GHSA-3r7x-rhvc-fw28, releases linked above); the fix consumes RelayState atomically on read, records consumed assertion IDs in a new saml_consumed_assertions table, enforces Response.InResponseTo and allowIDPInitiatedLogin=false, and pins Destination and SubjectConfirmationData Recipient to the ACS URL while honouring NotOnOrAfter. Because the storage changes are coupled across supertokens-core, supertokens-plugin-interface and supertokens-postgresql-plugin, upgrade those artifacts together rather than mixing versions. Upgrade note from the advisory: after upgrading, every SAML client with allowIDPInitiatedLogin enabled must have an acsURLs allow-list set ({apiDomain}{apiBasePath}/{tenantId}/saml/callback, or saml_legacy_acs_url for legacy clients) - until it is set, IdP-initiated logins for that client return IDP_LOGIN_DISALLOWED_ERROR, and existing clients without a list are refused rather than silently allowed. Where upgrading cannot be done immediately, the exposure is bounded by the assertion lifetime and by whether an attacker can observe callback POST bodies, so reducing request-body logging on reverse proxies and TLS-terminating intermediaries in front of the SAML callback endpoint removes the main interception vector, with the trade-off of losing that audit data; disabling the SAML recipe entirely for deployments that do not need it also removes the attack surface.

Affected VersionsENISA

supertokens-core 12.1.0, < 12.1.2
supertokens-core 12.2.0, < 12.2.1
supertokens-core 12.0.0, < 12.0.11
supertokens-core 11.4.0, < 11.4.8
supertokens-core 11.3.0, < 11.3.8
supertokens-core 12.3.0, < 12.3.1

Affected Packages

euvd supertokens_core fix: 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.1, 12.3.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw lives in the SAML recipe of SuperTokens Core (Java class io.supertokens.saml.SAML, handleCallback) and concerns the SAML 2.0 Web Browser SSO profile, where an SP-initiated flow persists a RelayState row at login time and an IdP-initiated flow has no RelayState at all. CWE-294 (Authentication Bypass by Capture-replay) is the root class, with the advisory also tagging CWE-346 (origin validation error) and CWE-384 (session fixation) because nothing binds a signed Response to the AuthnRequest that produced it. Concretely, handleCallback performs a non-destructive read of the RelayState row (samlStorage.getRelayStateInfo) and the row is only ever removed by the expires_at-driven cleanup job removeExpiredSAMLCodesAndRelayStates, so the same {samlResponse, relayState} body is processed identically on every submission; assertion IDs are never written anywhere, so captured Responses also replay in the IdP-initiated flow; response.getInResponseTo() is never read anywhere in SAML.java, so an assertion for a different identity can complete an in-progress login and allowIDPInitiatedLogin=false is not enforced; and Destination plus SubjectConfirmationData Recipient and NotOnOrAfter are never validated. Each accepted callback mints a fresh authorization code that resolves independently via /recipe/saml/user to the same NameID/claims, breaking the SAML requirement that a Response be consumable at most once. The remediation introduces atomic read-and-delete RelayState consumption, a new saml_consumed_assertions table (primary key on app_id, tenant_id, assertion_id, with an expires_at index), stored in_response_to and acs_url columns, Destination/Recipient pinning to the ACS URL, and NotOnOrAfter enforcement; the storage changes are coupled across supertokens-core, supertokens-plugin-interface and supertokens-postgresql-plugin and must ship together.

Know when Supertokens Core gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.4 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
vuln.today AI 7.4 HIGH

Network callback with no authentication (PR:N), but AC:H because the attacker must first capture a still-valid victim SAML response; resulting identity takeover gives C:H/I:H with no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch available
Nov 09, 2026 - 19:02 EUVD
CVE Published
Nov 09, 2026 - 18:18 cve.org
HIGH 7.4

DescriptionCVE.org

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.

Technical POC Analysis

CWE-294 (Authentication Bypass by Capture-replay); the advisory also tags CWE-346 and CWE-384.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity vulnerability in SuperTokens Core (versions 11.3.0 up to the fixed release) enables an attacker who captures a valid SAML assertion to replay it and obtain a fresh authorization code, impersonating the victim and potentially accessing sensitive systems. This directly undermines trust in federated authentication and could lead to unauthorized access to business applications, data exfiltration, or lateral movement within the organization.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 71% exploitable
Prevalence
Medium
open-source authentication server, moderate adoption; only SAML recipe deployments affected
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy