Skip to main content

SuperTokens Core CVE-2026-123798

| EUVDEUVD-2026-120162 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 SAML Response for own account
  2. Delivery
    Author forged Response carrying victim NameID
  3. Exploit
    Reparent genuine signature into samlp:Extensions or saml:Advice
  4. Execution
    Submit via SP-initiated login with valid RelayState
  5. Impact
    Authenticate as another 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

Exploitation requires that the enterprise SAML feature be licensed and at least one SAML client be configured - deployments not using SAML SSO are entirely unaffected. The attacker must be an ordinary user of the configured IdP, able to obtain a single SAML Response the IdP legitimately signed for their own account; no SuperTokens-side privilege beyond normal SSO access is needed. Only versions 11.3.0 through 11.3.6, 11.4.0 through 11.4.6, and 12.0.6 through 12.0.9 are affected. Both response-level and assertion-level signing paths are exploitable, and allowIDPInitiatedLogin does NOT need to be enabled because the forged document is accepted in the SP-initiated flow with a valid RelayState. The principal limiting factor is that the attacker must already hold a valid account on the same IdP, bounding the attack to that IdP's user population; there is no configuration-level workaround, so upgrading is the only complete fix.

Impact

This is a genuine high-priority authentication bypass, though not an emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N, 8.1) is consistent with the mechanism described: network-reachable, low complexity, and requiring only the low privilege of being an ordinary user of the configured IdP (PR:L) - matching the advisory's precondition that the attacker needs one SAML Response the IdP legitimately signed for their own account. The impact (full account takeover of any other IdP user) justifies C:H/I:H; A:N is correct as availability is untouched. Decision label is 'this_week' and a vendor patch exists, so this should be remediated promptly but is below act_now/emergency. KEV status is not present in the input, so exploitation is NOT confirmed in the wild; EPSS is not provided, so probabilistic exploitation likelihood cannot be cited. The patch commit's test suite contains working XML Signature Wrapping payload generators, so the attack technique is effectively public even though no standalone weaponized exploit is cited. The main mitigating realism factors: the enterprise SAML feature must be licensed and configured, and the attacker must hold a valid account on the same IdP - this bounds the attacker population to legitimate IdP users rather than the whole internet, which argues for targeted insider/tenant-user abuse rather than mass opportunistic exploitation.

Exploit ScenarioDerived

An ordinary user of an organization's SAML IdP logs in normally to obtain one Response the IdP genuinely signed for their own account, then crafts a new SAML Response whose assertion names a victim (e.g. an admin) and reparents the borrowed, genuinely-signed element into a location such as samlp:Extensions or saml:Advice where its Reference URI still resolves. They submit this through the normal SP-initiated login flow with a valid RelayState and are authenticated as the victim. The patch commit's test harness includes XSW payload generators demonstrating both response-level and assertion-level variants, so the technique is publicly documented, though no independent weaponized exploit is cited.

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

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

Alert me

AnalysisAIv1 – Nov 09, 2026

XML Signature Wrapping in SuperTokens Core's SAML SSO path lets any ordinary user of the configured identity provider authenticate as any other user of that same IdP. The core calls OpenSAML's SignatureValidator.validate() without first running SAMLSignatureProfileValidator, so it confirms that some signature in the document is cryptographically valid but not that it covers the Response or Assertion whose NameID and attributes it then trusts; both response-level and assertion-level signing are affected and allowIDPInitiatedLogin does not need to be enabled. Only deployments of versions 11.3.0 through 11.3.6, 11.4.0 through 11.4.6 and 12.0.6 through 12.0.9 that have the enterprise SAML feature licensed with at least one SAML client configured are exposed, and the attacker must already hold a valid account on the same IdP (authenticated per the CVSS vector PR:L). No CISA KEV entry exists and no verified working exploit code has been identified at time of analysis; the upstream fix commit does include test code that constructs wrapped SAML responses, which is a public PoC reference but not verified as standalone working exploit code.

RemediationAI

Upgrade SuperTokens Core to 12.0.10, 11.4.7 or 11.3.7 according to the branch you run; these releases add the SAMLSignatureProfileValidator pass before SignatureValidator.validate() for both response-level and assertion-level signatures, so a document whose signature Reference does not name the enclosing object's ID is rejected. Vendor-released patch: 12.0.10, 11.4.7 and 11.3.7, available from https://github.com/supertokens/supertokens-core/releases/tag/v12.0.10, https://github.com/supertokens/supertokens-core/releases/tag/v11.4.7 and https://github.com/supertokens/supertokens-core/releases/tag/v11.3.7, with full details in the advisory at https://github.com/supertokens/supertokens-core/security/advisories/GHSA-gvx2-mwmj-wwvj. The vendor states there is no configuration-level workaround, because both signing modes are affected and IdP-initiated login need not be enabled; upgrading is the only complete fix. Where an immediate upgrade is not possible, the only way to remove exposure is to stop using the affected SAML flow entirely - disable the configured SAML client or the licensed enterprise SAML feature so the vulnerable verification path is unreachable - accepting that users who rely on SAML SSO must authenticate by another method in the interim, and reverting that change once the patched version is deployed.

Affected VersionsENISA

supertokens-core 12.0.6, < 12.0.10
supertokens-core 11.4.0, < 11.4.7
supertokens-core 11.3.0, < 11.3.7

Affected Packages

euvd supertokens_core fix: 11.3.7, 11.4.7, 12.0.10

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

SAML responses are XML documents whose integrity is protected by XML Digital Signatures, where a ds:Signature identifies the element it covers through a Reference URI that is resolved by ID against the whole document. OpenSAML deliberately splits validation into two stages: SAMLSignatureProfileValidator enforces the SAML signature profile (the signature must be a child of the object it signs, must carry exactly one Reference, that Reference must name the signed object's own ID, and only enveloped-signature and canonicalisation transforms are allowed), and SignatureValidator.validate() then performs the cryptographic check against the IdP certificate. The vulnerable verifySamlResponseSignature method in src/main/java/io/supertokens/saml/SAML.java performed only the second stage, so a signature the IdP legitimately produced for an attacker-controlled element remained cryptographically valid after being reparented onto an attacker-authored Response or Assertion, with the genuinely signed element parked in samlp:Extensions or saml:Advice where its Reference URI still resolves. The per-assertion "each assertion must be signed" loop does not close the gap because it guarantees only that each assertion carries a signature, not that a signature covers its own assertion. This is CWE-287 (improper authentication) as recorded in the CVE and CWE-347 (improper verification of cryptographic signature) as recorded in the GHSA advisory; the resulting bypass produces an ordinary successful saml_callback login entry with no anomalous audit record. The upstream fix (commit 8d06b0cf) adds a validateSignature helper that runs new SAMLSignatureProfileValidator().validate(signature) immediately before the cryptographic check for both the response-level and per-assertion signature paths, and the accompanying test additions (MockSAML) build response-level and assertion-level wrapped documents to prove the check now rejects them. CPE cpe:2.3:a:supertokens:supertokens-core:*:*:*:*:*:*:*:* identifies the self-hosted core package across the affected ranges.

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 SP flow (AV:N/AC:L); PR:L because the attacker must be an authenticated IdP user to obtain a signed Response; full account takeover gives C:H/I:H, no availability impact (A:N).

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:04 cve.org
HIGH 8.1

DescriptionCVE.org

SuperTokens Core is an open source authentication server. From 11.3.0 until 11.3.7, 11.4.7, and 12.0.10, SAML.verifySamlResponseSignature calls OpenSAML SignatureValidator.validate without first applying SAMLSignatureProfileValidator. The Core can therefore accept a cryptographically valid signature that references a different XML element from the Response or Assertion whose NameID and attributes are used for authentication. An ordinary user of the configured identity provider can move a genuinely signed element elsewhere in the document while supplying an attacker-authored identity-bearing element, causing XML Signature Wrapping authentication as another IdP user. Both response-level and assertion-level signing paths are affected, and SP-initiated login remains reachable without enabling allowIDPInitiatedLogin. This issue is fixed in versions 11.3.7, 11.4.7, and 12.0.10.

Technical POC Analysis

CWE-287 (Improper Authentication), with the advisory also assigning CWE-347.

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

SuperTokens Core's SAML SSO implementation contains a signature validation flaw (CVE-2026-123798) that could allow a legitimate user of a connected identity provider to impersonate any other user on that same IdP, effectively bypassing authentication boundaries for SAML-enabled enterprise deployments. Organizations running affected versions with the enterprise SAML feature licensed and at least one SAML client configured face potential unauthorized access to accounts and downstream applications, making this a material identity and access risk for leadership to prioritize.

Business Impact: High
Compensating Controls

Vendor-released patch: 11.3.7, 11.4.7, and 12.0.10

Threat Intelligence Overview

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Low
open-source auth server with modest adoption; enterprise SAML feature licensed separately
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.2%
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.

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