Skip to main content

SuperTokens Core EUVDEUVD-2026-120153

| CVE-2026-123802 HIGH
Improper Authentication (CWE-287)
2026-11-09 GitHub_M
8.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Obtain IdP-signed assertion naming victim
  2. Delivery
    Mint own valid assertion for target audience
  3. Exploit
    Combine both in one signed SAML Response
  4. Execution
    POST to /recipe/saml/callback
  5. Persist
    Audience check passes on one assertion, identity taken from other
  6. Impact
    Authenticated 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% 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 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

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

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

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

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

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/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
Low
Privileges Required
Low
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:23 cve.org
HIGH 8.1

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, 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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 77% exploitable
Prevalence
Low
open-source auth server, modest footprint; only licensed SAML 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.3%
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

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

References

Advisories & patches
REF https://github.com/supertokens/supertokens-core/commit/00a15e045323ba8a566ca6f59b70125b4030ab6c REF https://github.com/supertokens/supertokens-core/commit/1645915320c5dfc22bce9029eb7d8364f8df402f REF https://github.com/supertokens/supertokens-core/commit/1d0fd5b40848629295cf86d47be185f92f31e445 REF https://github.com/supertokens/supertokens-core/commit/324686349b21ab46fe465ca5f74294d6c68d3859 REF https://github.com/supertokens/supertokens-core/commit/53f42f496477e7cc3ccd48fe57851fa08d06a248 REF https://github.com/supertokens/supertokens-core/commit/5ffdd887b470035f409d61f85f2186381ad9cdd6 REF https://github.com/supertokens/supertokens-core/commit/8e69a85e38709b832869c3bfc83df9a150d6f3cf REF https://github.com/supertokens/supertokens-core/commit/a2483b692d43294fdb9ad2f8f6f831cca8300081 REF https://github.com/supertokens/supertokens-core/commit/b21760ceb5089b0fa30c8fd46f7bbfc680de56dd REF https://github.com/supertokens/supertokens-core/commit/c77b13061176d9bd50ed24a9cf50ffbcdf332ee5 REF https://github.com/supertokens/supertokens-core/commit/f4ddc022ef1ee17933efb710c21a960cb4ada083 REF https://github.com/supertokens/supertokens-core/releases/tag/v11.3.8 REF https://github.com/supertokens/supertokens-core/releases/tag/v11.4.8 REF https://github.com/supertokens/supertokens-core/releases/tag/v12.0.11 REF https://github.com/supertokens/supertokens-core/releases/tag/v12.1.2 REF https://github.com/supertokens/supertokens-core/releases/tag/v12.2.1 REF https://github.com/supertokens/supertokens-core/releases/tag/v12.3.1 REF https://github.com/supertokens/supertokens-core/security/advisories/GHSA-wfg2-vqfg-rqh6

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