SuperTokens Core: SAML XML Signature Wrapping authentication bypass — any IdP user can authenticate as any other user

State
Published
Severity
8.1 High
Published
Nov 9, 2026
Updated
Nov 13, 2026
Reserved
Nov 6, 2026

Read the record on cve.org

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.

ProductVersions
supertokens-core supertokens>= 12.0.6, < 12.0.10 Affected>= 11.4.0, < 11.4.7 Affected>= 11.3.0, < 11.3.7 Affected

Weaknesses

  • CWE-287 Improper Authentication
  • CWE-347 Improper Verification of Cryptographic Signature

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.