1. CVE archive
  2. 2026
  3. CVE-2026-123798

CVE-2026-123798

8.1 High severity CVSS v3.1 · source NVD CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N 8.1 – High

Description

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.

Affected products

VendorProductVersionPlatform
supertokens supertokens-core >= 12.0.6, < 12.0.10 –
supertokens supertokens-core >= 11.4.0, < 11.4.7 –
supertokens supertokens-core >= 11.3.0, < 11.3.7 –
All 8 Supertokens-core vulnerabilities

Vulnerability type

CWE-287 Improper Authentication

When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Impact on systems

ScopeImpact
Integrity, Confidentiality, Availability, Access Control Read Application Data, Gain Privileges or Assume Identity, Execute Unauthorized Code or Commands
This weakness can lead to the exposure of resources or functionality to unintended actors, possibly providing attackers with sensitive information or even execute arbitrary code.

How to prevent it

Architecture and Design · Libraries or Frameworks Use an authentication framework or library such as the OWASP ESAPI Authentication feature.

All 5,295 CWE-287 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org