Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCapture valid SAMLResponse + RelayState via intermediary
-
DeliveryReplay identical pair to /recipe/saml/callback
-
ExploitBypass missing replay/InResponseTo checks
-
ExecutionMint fresh authorization code
-
ImpactRedeem 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
More in Supertokens Core
View allPrivilege escalation in SuperTokens Core 6.0.0 through 12.3.0 (fixed in the listed branch releases) lets an attacker who
Authentication bypass in SuperTokens Core breaks tenant isolation at the WebAuthn sign-in boundary: an ordinary authenti
SAML authentication bypass in SuperTokens Core (11.3.0 through the fixed releases 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.
XML Signature Wrapping in SuperTokens Core's SAML SSO path lets any ordinary user of the configured identity provider au
Expired dashboard administrator sessions in SuperTokens Core keep authenticating: the Core's session-verification path n
EUVD-2026-120152
NVD
CVE.org
EPSS
GitHub
Exploit-DB