Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain IdP-signed assertion naming victim
-
DeliveryMint own valid assertion for target audience
-
ExploitCombine both in one signed SAML Response
-
ExecutionPOST to /recipe/saml/callback
-
PersistAudience check passes on one assertion, identity taken from other
-
ImpactAuthenticated as victim IdP user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitable only when the SAML enterprise feature is licensed and at least one SAML client is configured; deployments not using SAML are unaffected. Attack 1 (multi-assertion) additionally requires the IdP to sign individual assertions rather than the whole response (the default for Microsoft Entra ID and Okta), and the attacker must possess both a still-valid IdP-signed assertion naming the victim for any audience (in practice from a peer SP, a compromised low-value SP, or a second SAML client in the same IdP federation) and their own legitimately-issued assertion for the real audience. Attack 2 (shared-default audience) requires that saml_sp_entity_id be left at its default value https://saml.supertokens.com and that the attacker hold an assertion from an IdP configured for the target deployment but issued to another SuperTokens deployment also using the default. Limiting factors: response-level signing makes Attack 1 unreachable; setting a unique saml_sp_entity_id closes Attack 2 only; and the attacker must already be a valid identity within the federation to obtain genuinely IdP-signed assertions. There is no configuration workaround for Attack 1 under assertion-level signing - upgrading is the only complete fix. |
| Impact | This is a genuine high-priority authentication-bypass in SuperTokens Core's SAML handling, not an inflated high-CVSS issue, but its reach is gated by specific deployment conditions. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N = 8.1) reflects network reach, no user interaction, and high confidentiality/integrity impact (sign-in as any IdP user with email marked verified), with PR:L because the attacker must already hold legitimately IdP-signed assertions within the federation. The GHSA advisory confirms end-to-end reproduction by both the reporter and the vendor on 12.2.0 (2026-09-07), so the defect is real and demonstrated - however, no public, weaponized exploit code is referenced, so this is 'no public exploit identified at time of analysis' rather than active exploitation. There is no CISA KEV listing and no EPSS score in the input, and no SSVC decision was supplied; the only priority signal is the vuln.today Decision label 'this_week', consistent with a serious-but-conditional flaw rather than an emergency. The practical risk is concentrated: Attack 1 needs assertion-level IdP signing (the default for Microsoft Entra ID and Okta) plus a victim-naming assertion from a peer SP, while Attack 2 only needs the default shared saml_sp_entity_id to be left unchanged - making default-configured, multi-tenant SuperTokens-based federations the most exposed. EPSS/KEV data being absent is an availability gap, not evidence of low risk; prioritize per the signed-assertion default and the 'this_week' label. |
| Exploit ScenarioDerived | An attacker who is a legitimate user in the same SAML federation (e.g. registered against a peer Service Provider on the same IdP) obtains a genuine IdP-signed assertion naming the victim for any audience, then appends it to a SAML Response that also carries the attacker's own validly-audienced assertion and posts it to the SuperTokens callback; because the audience is checked per-response while identity is taken from the last assertion, they are signed in as the victim. Alternatively, where the default saml_sp_entity_id (https://saml.supertokens.com) is unchanged, a single assertion minted for a different SuperTokens deployment satisfies the audience check as-is. The flaw was reproduced end-to-end by the reporter and vendor, but no public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 09, 2026
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.1 and 12.3.1) lets an attacker be signed in as an arbitrary user of the configured identity provider. The core checks the audience restriction against whichever assertion matches and then takes the NameID and attributes from the last assertion in the response, so a victim-naming assertion issued for a different audience can be combined with the attacker's own valid assertion when the IdP signs assertions rather than the whole response; separately, the shared default saml_sp_entity_id allows an assertion minted for another SuperTokens deployment to satisfy the target's audience check. Exploitation requires a licensed SAML feature with a configured client and prior possession of genuinely IdP-signed assertions, no public exploit code has been identified at time of analysis, and the vendor shipped patches in six release branches.
RemediationAI
Upgrade to the fixed release for your branch: 11.3.8, 11.4.8, 12.0.11, 12.1.2, 12.2.1 or 12.3.1, per the advisory at https://github.com/supertokens/supertokens-core/security/advisories/GHSA-wfg2-vqfg-rqh6. After upgrading, set saml_sp_entity_id to a value unique to the deployment - the shared default https://saml.supertokens.com is no longer applied and SAML will refuse to operate without a configured value - and give every SAML client with allowIDPInitiatedLogin enabled an acsURLs allow-list ({apiDomain}{apiBasePath}/{tenantId}/saml/callback, or saml_legacy_acs_url for legacy clients), otherwise IdP-initiated logins for that client return IDP_LOGIN_DISALLOWED_ERROR until it is set; note the fixed code also rejects assertions with no Conditions or no AudienceRestriction, which can break non-conforming IdPs. For deployments that cannot upgrade yet, setting a unique saml_sp_entity_id closes only the shared-default variant, and configuring the IdP to sign the SAML Response rather than individual assertions makes the multi-assertion variant unreachable, though this must be verified against the specific IdP; there is no configuration-level workaround for the multi-assertion attack when assertion-level signing is in use, which is the default for Microsoft Entra ID and Okta, so upgrading is the only complete fix. The same release also carries Destination, InResponseTo and assertion single-use checks under GHSA-3r7x-rhvc-fw28 and should be deployed alongside the XML Signature Wrapping fix GHSA-gvx2-mwmj-wwvj.
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
SuperTokens Core implements a SAML 2.0 service provider in src/main/java/io/supertokens/saml/SAML.java, and the flaw is a CWE-287 improper-authentication issue rooted in how the callback handler evaluated response-level versus assertion-level properties. handleCallback validated the signature, then the timestamps, then the audience, then extracted claims; validateSamlResponseAudience looped over assertions and broke on the first audience match while skipping assertions with no Conditions or AudienceRestriction, and extractAllClaims then iterated every assertion, overwriting NameID and attribute values so the last assertion won. Because the OASIS SAML 2.0 Web Browser SSO profile (section 4.1.4.3, as amended by erratum E26) and SAML Core section 2.5.1.4 require each assertion to be evaluated independently and any assertion whose conditions cannot be met to be discarded, the earlier XML Signature Wrapping fixes in 12.0.2 and 12.0.10 (which only changed verifySamlResponseSignature to require every assertion to be individually signed) did not address this, since both assertions in the attack carry genuine IdP signatures whose References name their own assertions. No Web Browser SSO profile checks for Destination, InResponseTo, SubjectConfirmationData Recipient/NotOnOrAfter, or response Status were implemented. The fix replaces the per-response audience check and multi-assertion claim extraction with selection of exactly one authenticating assertion whose signature, time window, Conditions (rejected when missing) and audience are all validated before use, adds a SubjectConfirmationData Recipient check against the ACS URL or the client's acsURLs allow-list, requires an acsURLs allow-list for IdP-initiated clients, and removes the shared default saml_sp_entity_id so it must be configured per deployment.
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:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Network-reachable callback with no user interaction; PR:L because the attacker must hold legitimately IdP-signed assertions within the federation; full account takeover gives C:H/I:H, 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, a licensed deployment with a configured SAML client can authenticate an identity from an assertion that did not satisfy the audience check. When the identity provider uses assertion-level signing, an attacker who has a still-valid IdP-signed assertion naming the victim for any audience and the attacker's own valid assertion for the target audience can combine them because validateSamlResponseAudience accepts an audience from one assertion while extractAllClaims takes the final NameID and attributes from another; response-level signing does not expose this multi-assertion variant. Independently, an assertion from an identity provider configured for the target deployment but issued to another SuperTokens deployment using the shared default saml_sp_entity_id can satisfy the target's audience check. Successful exploitation authenticates the attacker as the victim IdP user. 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-287 (Improper Authentication), with the advisory also attaching CWE-345 and CWE-1220.
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 SAML authentication bypass in SuperTokens Core (versions 11.3.0 through 12.3.1) allows an attacker to impersonate any user of the configured identity provider, potentially granting unauthorized access to sensitive systems and data. Organizations using the affected SAML feature are at risk of account takeover, which could lead to data breaches or privilege escalation, impacting both security and compliance.
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
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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
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
SAML callback replay in SuperTokens Core 11.3.0 up to the fixed releases lets an attacker who captures a legitimately is
EUVD-2026-120153
NVD
CVE.org
EPSS
GitHub
Exploit-DB